I have a client-server application in c which is using unix domain socket.
Here server is reading a integer from client. Client successfully sends a 4 bytes to server.
but at the server end I could see that the read system call is reading 0 bytes from socket.
I am pretty much sure that the data is available for read on server since the select call before read operation is succeeding.
Any idea why this is happenning?