----- Original Message ----- Hi everybody, I'm new in group. I've a query ,not directly related to Linux but to BSD sockets. Can anyone tell me how we can get the current state(connected or not) of the socket . I couldn't find it properly. Thanks in adv. ----
1. Try sending a 0 byte data structure through it and test for an error condition. 2. Buy yourself a copy of Unix Network Programming by W Richard Stevens..
cheers