in a chat application i have used two sockets s1 and s2, in that s1 is used for sign in a user and s2 is sign out of that user in multiple client program. i have created only one server socket for all the sockets.. is there any exception will occur if i use only one socket for both sign out and sign in? i have used two thread for both sign out and sign in process. andd... can i use multiple server sockets in a application? suppose if i will use multiple server sockets means what type of application i have to use multiple server sockets? can you send me the example application for this?