Recently, i encounter an issue on socket between different workstations. I'm using Delphi TClientSocket to connect a server and received data from it. And per my testing, i found the TClientSocket received data unstable in different workstations.
The server's reside in a Windows XP (SP2), and keep broadcasting msg in 10000kbps. There are another two more Windows XP (SP2) running the same client app receiving data from the server. But the result's so different that one client keep receiving data in 10000kbps, while the other one only 300kbps.
Is there possible that these two client app testing Windows XP (SP2) workstations have something in different will cause this result? Something like the registry value, or el开发者_如何学Gose?
Please help, thank you.
IMHO this is related to your network. To control the speed into a network, you must control devices which sent the data (routers, modems,hubs or other network devices). All the stations have the same OS, antivirus (this can 'slow' the data receiving by it's scanning method), and applications? Have you other network 'consuming resources' elements on the 'slow' computer?
PS: I believe is more reliable to use Indy suite http://www.indyproject.org/index.en.aspx instead of using TClientSocket.
best regards,
Radu
精彩评论