Hi guys,
I'm writing with D7 Pro an application composed by three different layers, which communicate by ICS WSocket with a simple TCP/IP based protocol. The architecture is the following: The first layer, call it Data Collector, connects his WSockets to the WSocketSerevr of the second layer, call it Server, and push some records to it. The Server has another WSocketServer that listens for clients (third layer) and as soon as a client connects, the Server push the records received by Data Collector to all connected clients. I have some problem I cannot resolve. 1)Sometimes all the chain seems to stop communicating. I noticed that if I move/resize/minimize the windows of the applications, often the communications stops immediately. If I don't interact with the executables GUI, the transmissions goes for a longer time, but after some minutes it stops anyway: sometimes few dozens of seconds sometimes 9 or 10 minutes. The records are quite small, from 60 to 200 bytes. The average rate is 50/60 records every second, with peaks of 150/160: the CPU usage is very low, I don't think is a performance problem. I have Exception trappers in every method involved in communication (ClientDataAvailable, ChangeState, ClientConnect, etc.) but non error is raised. 2)I'm not able to establish connections on a LAN: if all the executable are on the same machines I connect without any problem, but if they run on different machines. I'm pretty sure I'm doing something wrong with WSocket properties. I set Addr on the client and Address on the server with the IP address of server machine, the Port on same value on both sides: is this enough to make a connection on a LAN? Thank you in advance for you replies. Ciao. -- Geppy Piloni -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be