Resource Temporarily unavailable error with tcp sockets but fine with telnet
Asked by
Aarush Gupta
I am getting errno 11(resource temporarily unavailable), when I use recv()
My recv() is in a continuos loop and it keeps getting this error code.
But when I close my socket and open the same IP through the linux command line telnet application, the data that I was supposed to get with recv() is flushed out on the screen as soon as telnet opens the connection.
I have tried using select() also which gives same kind of behavior.
As I understand telnet also uses recv() call under the hood, so what am I missing that I cannot recv().
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.