Hi everybody,
How can I terminate a windows Socket only for one thread and not for all thread (functions WSAStartup, WSACleanup) I need to reuse a socket connection in an infinite loop in order to accept connection from ONE client when it has data ready for my application.
I tried to do it without closing the socket connection but it doesn't work and now I tried to remove the connection and to put the socket into the listening state again but I received a message error 10093, that is, I need to call the WSACleanup function and then the WSAStartup, but that remove all my threads...
Can you help me?
Thank you