Hi,
i am using the Standard TWSocket in a Server and round about 70 Clients.
After a Client is connected to the Server, the Client starts
immediately to send string messages. After some sort of filtering the messages
are broadcasted to a subset of all connected Clients.
Especially at start up some clients send up to 10.000 messages with an average
size of 40 bytes.
Sometimes it happens, that in the Server the OnDataAvaiable-Callback stops to
be triggered.
If i call receive(nil,0) on the affected socket, everything gets back working
correctly.
In my opinion some postmessage-calls in the socket are discarded because the
windows message queue for the server process is full.
If i set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
\Windows\USERPostMessageLimit to Value of 50.000
Everything seems to be working fine.
What possibilities do i have if the system and so the number of messages
grows? Enlarging USERPostMessageLimit doesn't seem to be the right solution.

Thanks,
 M. Fischer
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to