Re: [twsocket] TWSocket descendant with messaging?

2005-07-11 Thread Wilfried Mestdagh
Hello Nicholas, In fact it is LineMode that does that for you. You only need a character there that is not in the data (or a character sequence). Other approach is to send packets with fixed length, or have a byte / word / dword in beginning of packet with the size, this can be binary if it is bin

Re: [twsocket] TWSocket descendant with messaging?

2005-07-06 Thread Nicholas Sherlock
I see that there is something like this on the user made page (It's the very last item), but the link is broken and I cannot find it on the internet. Can someone post it? Cheers, Nicholas Sherlock Nicholas Sherlock wrote: Hey all, Has anyone made a TWSocket descendant that lets you send who

[twsocket] TWSocket descendant with messaging?

2005-07-06 Thread Nicholas Sherlock
Hey all, Has anyone made a TWSocket descendant that lets you send whole "Messages", which it keeps together? And it fires an event once a whole message has been received and lets you deal with it? I made something like this for two projects of mine, but I'm wondering if anyone has made such a