In BF2 it uses TCP... anyways... the problem is that i dunno how to set this buffer size :( The problem appears only on WIFI connection... :(
Dnia 22-06-2006 o godz. 21:23 Dan napisał(a): > RCON usually uses UDP (at least in my experience with Half-Life). You > probably need to increase the buffer size of the socket so that all the > data > is included in a single datagram. > > Dan > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Waldemar Lukaszewski > Sent: 22 June 2006 19:34 > To: ICS support mailing > Subject: Re: [twsocket] WSocket - HOW DO I...? > > The problem is that i'm only making a clinet. Server is as it is. There > is > no way to change it... > > > Dnia 22-06-2006 o godz. 17:58 Francois PIETTE napisał(a): > > > have no idea how do i know if server have sent all it wanted to send > > after > > > command. > > > > The easiest is to add a delimiter after the data. And the eaisiest is > to > > use > > a CR/LF pair, that is send text lines. It is easy because TWSocket has > a > > LineMode you can set to TRUE to have it assemble complete lines before > > triggering OnDataAvailable. > > > > You should probably read the document "TCP/UDP primer" available from > > the > > support page at my website. > > > > > > -- > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > > -- > > [EMAIL PROTECTED] > > http://www.overbyte.be > > > > > > > > ----- Original Message ----- > > From: "Waldemar Łukaszewski" <[EMAIL PROTECTED]> > > To: "twsocket" <twsocket@elists.org> > > Sent: Thursday, June 22, 2006 5:48 PM > > Subject: [twsocket] WSocket - HOW DO I...? > > > > > > > Hi. > > > Got serious problem with WSocket... im trying to write a client for > > rcon > > > (BF2 game server administration system), but have no idea how do i > > know if > > > server have sent all it wanted to send after command. > > > > > > For example got command "bf2cc pl" that list players on the server > and > > > gives some information about them... its raw text... but on my > laptop > > it > > > sends data 2 times: first parto of data and second part of data... > and > > how > > > do i know if its all or will it send some more?? > > > > > > Thanx for help! > > > WL > > > > > > ---------------------------------------------------- > > > Chciałbyś zagrać w POKERA ON-LINE ale nie chcesz nic płacić? > > > Zagraj z nami! Darmowy polski poker on-line na Wirtualnej Polsce: > > > > > > http://klik.wp.pl/?adr=www.gol.wp.pl%2Fgry.online-poker.draw.html&sid=799 > > > > > > > > > -- > > > 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 > > > > -- > > 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 > > > > ---------------------------------------------------- > Chciałbyś zagrać w POKERA ON-LINE ale nie chcesz nic płacić? > Zagraj z nami! Darmowy polski poker on-line na Wirtualnej Polsce: > http://klik.wp.pl/?adr=www.gol.wp.pl%2Fgry.online-poker.draw.html&sid=799 > > > -- > 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 > > > -- > 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 > ---------------------------------------------------- Potrzebujesz gotówki? Halogotówka to nawet 50000 bez wizyty w banku. Rata od 35 zł, bez poręczycieli. Wniosek i decyzja przez telefon. Wypełnij formularz. Oddzwonimy. Kliknij po szczegóły! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fh1906.html&sid=791 -- 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