Socket Error codes
Well I'm using a socket server program that I made, it seems to work untill I send the second message, then i get a "status == -1 errno == 9 in Socket::recv" which is an error code of sorts, for the socket, but is there a place to look up to figure out what these codes mean?
Kris |
use teh perror() function, it prints out a string representing the value of errno meaning.
|
Taken from /usr/include/asm/errno.h:
Code:
#define EPERM 1 /* Operation not permitted */ EBADF The argument s is an invalid descriptor. |
Hay Kris, if you could list your program code of client and server, that would be of great help to me. I have been writing the client server code, but still I am unable to communicate. Moreover I am unable to handle the error, if you could help me.
Better if you could help me by sending code in personel. |
All times are GMT -5. The time now is 04:31 AM. |