Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : UDPServer freezes (AntiFreeze doens't help much)
| Subject: | UDPServer freezes (AntiFreeze doens't help much) |
| Posted by: | "Samu" (samuel.lop..@telefonica.net) |
| Date: | 5 Feb 2007 10:12:59 |
It doesn't really freeze, but it runs so slowly that it is impossible to work with it.
I am trying to create something similiar to a online Pictionary
for a school project.
I am using the OnUDPRead event of a TidUDPServer to get the
coordinates of the mouse sent by another computer. The problem
is that sometimes, when the server receives the coordinates (as
string using the ReceiveString(-1) method), it starts going
slowlier and is only corrected after a while when it receives
further coordinates.
I don't understand why it sometimes works better and sometimes
worse. Is there any code to solve the problem? Does someone
know what is happening?
Thnx