[twsocket] wilfried mestdagh sockspy query

2006-02-02 Thread lame.one
hi this question is about your socketspy program since it so nice =) I was wondering something for what i'm trying to do and that is close remote socket and keep local connection still alive by not informing it that the remote socket has closed. I am doing it like this and commenting out the sessio

[twsocket] wSocketServer issue queuing data unintentionally

2006-01-08 Thread lame.one
I'm writing a proxy type of application for irc and I noticed an issue twice last night that had me puzzled. I have 1 wsocketserver component on my form and I spawn a wsocket client for the remote connection since this is a local proxy. When inbound remote connection data comes in i write the packe

[twsocket] ReceiveStr/SendStr vs. Receive/Send

2005-12-21 Thread lame.one
Hi guys thanks for your earlier responses they helped lots. I was reading ICS demos and comments from Francois and others and I was wondering of an identical replacement for receivestr and sendstr. I'd like to use an array of char instead since it doesn't need to copy the data multiple times. Is th

[twsocket] OnDataAvailable event question

2005-12-19 Thread lame.one
I was wondering about something concerning the OnDataAvailable event for Twsocket. If I assign a string to the receivestr function inside the OnDataAvailable event and I have lengthy processing do i miss other OnDataAvailable events and my string clears during the reassignment or is the data append

[twsocket] assembling data on socket receive

2005-12-17 Thread lame.one
Francois Piette, thanks for responding to my last post about tcp primer. I looked into linemode and it looks very useful. The problem for me is I am writing a chat client with ICS and I'm writing both an unofficial third party irc and yahoo chat client but i'm struggling with handling the receive d

[twsocket] socket programming tcp/udp primer question

2005-12-17 Thread lame.one
I recently read the tcp/udp primer under the overbyte.be "support" section and the tcp data fragmented packet example using the text string "Hello" caught my attention because that is something i always wondered about in socket programs. The fact that the data can be split up into multiple packets

[twsocket] TWsocket Threading

2005-12-04 Thread lame.one
Hello ICS users, I was wondering a couple things about ICS because i'm currently in a pickle, a big one and it's driving me literally insane. I've used tclientsocket/tserversocket and indy a bit and when i started to use ICS there was definitely a learning curve because it follows the whole async