Nog een poging...

This commit is contained in:
Thulinma 2010-11-08 00:34:30 +01:00
parent 8b7781fcfb
commit 8c646c6391

View file

@ -34,7 +34,7 @@ int main(){
if (myid == 0){ if (myid == 0){
break; break;
}else{ }else{
printf("Spawned new process %i for incoming client\n", (int)myid); printf("Spawned new process %i for handling socket %i\n", (int)myid, CONN_fd);
} }
} }
if (server_socket <= 0){ if (server_socket <= 0){
@ -127,7 +127,7 @@ int main(){
} }
SendMedia((unsigned char)FLVbuffer[0], (unsigned char *)FLVbuffer+11, FLV_len-15, ts); SendMedia((unsigned char)FLVbuffer[0], (unsigned char *)FLVbuffer+11, FLV_len-15, ts);
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "Sent a tag.\n"); fprintf(stderr, "Sent a tag to %i\n", CONN_fd);
#endif #endif
FLV_Dump();//dump packet and get ready for next FLV_Dump();//dump packet and get ready for next
} }