projects
/
my-code
/
dmsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-
[my-code/dmsd.git]
/
dmsd.c
diff --git
a/dmsd.c
b/dmsd.c
index
6154927
..
b8f1dad
100644
(file)
--- a/
dmsd.c
+++ b/
dmsd.c
@@
-28,7
+28,7
@@
int main(int argc,char *argv[]) {
int status,recvd_bytes;
if(argc!=4) {
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;
}
return -1;
}
@@
-60,6
+60,9
@@
int main(int argc,char *argv[]) {
}
dprintf(v_fd,"GET /%x HTTP/1.0\r\n\r\n",vpid);
}
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) {
status=1;
while(status) {