Hello Waldemar,

> In BF2 it uses TCP... anyways... the problem is that i dunno how to
> set this buffer size

This has nothing to do with a buffer size. It is how TCP works. See
TCP/UDP primer on overbyte home page.

For the problem you have it is very simple. Check the protocol that the
server use. It can be line oriented, for example a terminating character
(or more) at the end of each data, or a header with the size in it.

If it is the former then you can use LineMode, if it is the latter you
have to concatenate packets until you have them all.
Rgds, Wilfried [TeamICS]

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