connect() system call fails while client tries to connect to a server givin duplicate name error.Can you please suggest me a way to remove this error?
Also I would like to know can we check if a socket is closed or not?
how to ensure that a socket is closed.
Please reply as soon as possible...