Good evening
Play with a small client server application .When listen for connections all my example clients connect succesfuly on Server and all data arrive on the list.
But when connect 5 clients and close the number (3 client) The socket from 3 connection still open i think .Because if try to load another one client the new client take the number 6 ..
How can make this if the client 3 close then the new client take the number 3 again ?
sorry for my english
Have a good time and talk tommorow
hello, you can use the google translator if you are not satisfied with your English
Some time ago, i had a similar problem (A client connect, disconnect, and the socket stays open in "TIME_WAIT"). How I Fixed it? Deleting the entire socket from the memory and making other one. Maybe you have to destroy the disconected socket and make a new one on that place.
Sorry for my english too..
(si alguien no entiende lo que digo, es que yo tenia un problema parecido. La solucion fue borrar el socket entero de la memoria e instanciar otro, si no se entiende que alguien se lo explique por favor :P)
Thanks raul338
have a nice day