Hi list !!!! I have a problem closing sockets. All the code is well done except when the program terminates the thread. Attached is the code. Look, the program is very simple but is not working fine at all, because the sockets remains in TIME_WAIT or CLOSE_WAIT state. Any clue ??? Thanks
Attachment:
sockets.c
Description: Binary data