Looks to me like the writer is relying on recv() retrieving what is send()'t. This is not true - you need to packetise yourself. This can lead to deadlock or infinite cpu spinning as you dont necessarily do the right thing.
strace should show you the error of your ways.
More information about formatting options
Looks to me like the writer
Looks to me like the writer is relying on recv() retrieving what is send()'t. This is not true - you need to packetise yourself. This can lead to deadlock or infinite cpu spinning as you dont necessarily do the right thing.
strace should show you the error of your ways.