Re: [twsocket] Possible CliId duplication

2011-05-24 Thread Arno Garrels
Maurizio Lotauro wrote: > Scrive Arno Garrels : > >> Francois PIETTE wrote: > "if FClientNum >= $7F then" > currently it wraps around after 8,388,607 That is probably my bug, missed an F. >>> >>> Should probably be MAXINT to avoid any issue with integer size >>> change.

Re: [twsocket] Possible CliId duplication

2011-05-24 Thread Maurizio Lotauro
Scrive Arno Garrels : > Francois PIETTE wrote: > >>> "if FClientNum >= $7F then" > >>> currently it wraps around after 8,388,607 > >> > >> That is probably my bug, missed an F. > > > > Should probably be MAXINT to avoid any issue with integer size change. > > And a cast of FClientNum to a

Re: [twsocket] Computer's name

2011-05-24 Thread Francois PIETTE
I don't know how to make sure there won't be any other machines in between, I mean to make sure both data belongs to the same computer. My question is, How can I set both messages comes in the same time like one whole message or combine them by the server as one message? Is there any ways of d

Re: [twsocket] Computer's name

2011-05-24 Thread daniel cc
Hi Francois, I had to comeback to this issue, I have understand that these 2 messages can be combined, " You can combine it when the message comes from the client. I don't see where the problem is. Or maybe there is something I misunderstood." Now, Here are these 2 messages, Client connected:|1|