Hello João,

If you use UDP then when the receiving machine is busy and packet arrive
then it is lost. So you have to optimize the parsing and saving for
speed. If it is a very lenghty procedure you can give the received data
to another thread to handle it.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Monday, October 15, 2007, 11:20, João Gonçalves wrote:

> Hello, I’m working with the TCP server example supplied,

> When I receive data, with the function
> TTcpSrvForm::ClientDataAvailable(TObject *Sender, WORD Error), Ii do the
> parsing of the string received and put it on a database. The problem is when
> I have 2 clients, part of the information is ignored. I think it’s because
> the same receive function is used by booth clients, is this true? And if so,
> how can I solve this problem,

> Thanks in advance,

> Best regards,

 

 

> João Gonçalves 

> [EMAIL PROTECTED]


-- 
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

Reply via email to