Gert Jan Kruizinga wrote:It looks like something has to time-out first before the connection setup can be completed and data-transfer can start. Do you connect through a DNS name (like host.company.com) our directly to an IP address?
I connect to an ip address. well after the connection is established everything is working ok. I I will not send any message for 10 -15 minutes it will stop sending messages for 15-20 seconds then it start sending them(so I have a 15-20 seconds lag) . after the lag period it starts sending messages normally and fast. I don't think it's a lag between client and server because I made a
test with 100 clients sending a message every 5 seconds and it worked well without lag for 30-40 minutes.
This problem is only on linux. on windows everything is working ok.
I think linux puts the socket in standby until it is reused. do you know anything about this?