int status,recvd_bytes;
if(argc!=4) {
- printf("usage: %s <video pid> <audio pid> <dbox ip address>\n",argv[1]);
+ printf("usage: %s <video pid> <audio pid> <dbox ip address>\n",argv[0]);
return -1;
}
}
dprintf(v_fd,"GET /%x HTTP/1.0\r\n\r\n",vpid);
+ printf("debug: GET /%x HTTP/1.0\r\n\r\nwritten to video fd\n",vpid);
+ //dprintf(v_fd,"GET /%x",vpid);
+ //printf("debug: GET /%x\nwritten to video fd\n",vpid);
status=1;
while(status) {