server: i make a listen with 5 backlog
and then a newfd= accept...
several clients can connect several times, trade messages and shutdown (after closing newfd)
the problem is that if the same client stays alive and makes more then 5 connect close cyles i get a error on the 6th connect
does the 5 in listen mean i can only connect 5 times with each client?
i have a printf in the server so that each time a newfd is created i get itīs number. when itīs closed by the client, i close it also in the server. close does not return -1, and the number of the closed fd is the same as newfd.
i imagine this can be hard to understand without code, but itīs a big program...