Thread (3 messages) 3 messages, 2 authors, 2010-01-08

Re: Socket Server breaks after 1000 client requests

From: Dragoslav Zaric <hidden>
Date: 2010-01-08 17:24:24

Thanks Ben,

The error was definitely in my code. I used c++ functions for send and receive.
Now I am using write() and read() system calls to write and read
directly to sockets and
it works flawlessly ;)

When I am sending 100 000 messages in loop from client to server it goes for few
seconds.

regards,

dragoslav zaric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help