> When I attempt to connect, sometimes I get and error 104 on both ends.
> The connection is established and immediately dropped. Once the
> connections begin to fail, I can never reconnect unless I restart the
> application. I get the same result if I am using the client that I
> wrote in synapse or if I connect using telnet.

Just my quick view to your sources:

- Use Client: TTCPBlockSocket;

- Yoo really want to bind on localhost address only?

- Setlinger with 100 is not cvalid on all systems. And even it is 
valid, then value 100ms is not practical. Use value greater then a 
few seconds, like 10000.

- Listen loop with period 100ms is not very effective. I am using 
500ms or 1s for best performance.



-- 
Lukas Gebauer.

E-mail: [email protected]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to