znort wrote:
> Ok, part of code...
>
> If I run a client test (loop of 60 connection) to connect to the
> server, all the fork/connection are ok...
> but sometimes all the fork still "hang" in the process list even if I
> stop the client
>
> (sorry but the code is "as is")
How can this code pos
Hello again;
In fact it seems the server "store" the number of descriptor from
select() even if the client disconnect... and after the limit of 64 it
fails (normal as I can read)
So, How can I do to "purge" the descriptor unused into the server ???
thanx for your help
:)
--
Unsubscribe info
Hello,
Ok, part of code...
If I run a client test (loop of 60 connection) to connect to the
server, all the fork/connection are ok...
but sometimes all the fork still "hang" in the process list even if I
stop the client
(sorry but the code is "as is")
thanx for your help
static int su=0;
s
On Sep 15 01:13, znort wrote:
> Hello everybody,
>
> Could U help me please it's very important of course :(
There's nobody called "U" on this list, sorry.
> I'm doing (trying exactly) a little client/serveur tcp programm.
> [...]
> Now If I run a sample client test with a loop which try to conn
Hello everybody,
Could U help me please it's very important of course :(
I'm doing (trying exactly) a little client/serveur tcp programm.
the skeleton is classic (from server side)
main()
{
fd_set readfds, rmask;
struct timeval tv;
int sd;
...
sd = create_socket();
...
5 matches
Mail list logo