Wilfried Mestdagh wrote: > Hello Arno, > >> What happens in ICS when a corrupted packet has been received? >> Is DataAvailable being triggered with an error > 0 ? > > I assume you use TCP.
Yes I do. > No need for additional check. I never have seen > a corrupt packet in TCP. Even not on radio networks where there is > planty of noise. > > If I recall whell I even never have seen a Winsock error in > OnDataAvaliable. Only received count <= 0 if there is close or an > error. So I will forget that and sleep well in the future, anyway it's much faster w/o a check, and I like it fast ;-) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz -- 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