[QUOTE=suresh vaikuntam]hi shabir
iam contacting you after long time.sock = socket (AF_INET, SOCK_STREAM, 0); the above line throws an exception.when iam first connecting to the server it connects.when iam again connecting to the server for the same application it throws an exception.help me regarding this

regards
suresh