Re: [twsocket] Properties and event declarations

2006-02-16 Thread Francois PIETTE
> MySocket:=TWSocketServer.Create(nil); > MySocket.OnClientCreate:=MyOnClientCreate; > MySocket.OnClientConnect:=MyOnClientConnect; > MySocket.OnDataAvailable:=MyOnDataAvailable; > > Doing this will not make MyOnDataAvailable work unless I also put it > on the MyOnClientConnect; You are confusing

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Wilfried Mestdagh
Hello Dod, > Of course I use more meaningfull names in my real code :-) That was > just for sample. But please you confuse use choosing less meaning full names here :( > As I said, this is for my FAQ and I have no real problem using > TWSocketServer and TWSocket, I just try to remember

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Wilfried Mestdagh
t; confuse TWSocketServer own events and TWSocket created instances events. FP>> -- FP>> [EMAIL PROTECTED] FP>> http://www.overbyte.be FP>> - Original Message - FP>> From: "Dod" <[EMAIL PROTECTED]> FP>> To: "ICS support mailing&qu

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Dod
Hello Arno, AG> Choose more meaningfull names!! Of course I use more meaningfull names in my real code :-) That was just for sample. AG> TWSocketServer also has an event OnDataAvailable, but that has _nothing to do AG> with the client object. Yes, in fact this one is from TWSocket and is

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Arno Garrels
I have no special problem with it (but I had some when I started to >>> use ICS some years ago), but it is for my ICS FAQ. >>> >>> Regards. >>> >>> >>> FP> Sorry but I don't understand the question ! >>> FP> Here is an answe

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Dod
t; [EMAIL PROTECTED] FP> http://www.overbyte.be FP> - Original Message - FP> From: "Dod" <[EMAIL PROTECTED]> FP> To: "ICS support mailing" FP> Sent: Wednesday, February 15, 2006 2:51 PM FP> Subject: Re: [twsocket] Properties and event declarati

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Francois Piette
rbyte.be - Original Message - From: "Dod" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, February 15, 2006 2:51 PM Subject: Re: [twsocket] Properties and event declarations > Hello Francois, > > For one of the question you answered : each

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Wilfried Mestdagh
- Original Message ----- FP>> From: "Dod" <[EMAIL PROTECTED]> FP>> To: "ICS support mailing" FP>> Sent: Wednesday, February 15, 2006 12:08 PM FP>> Subject: [twsocket] Properties and event declarations >>> Hello, >>> >>

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Dod
" FP> Sent: Wednesday, February 15, 2006 12:08 PM FP> Subject: [twsocket] Properties and event declarations >> Hello, >> >> Is there a list of which properties and events are not "inherited" >> from the ones set after .Create and which o

Re: [twsocket] Properties and event declarations

2006-02-15 Thread Francois Piette
OTECTED]> To: "ICS support mailing" Sent: Wednesday, February 15, 2006 12:08 PM Subject: [twsocket] Properties and event declarations > Hello, > > Is there a list of which properties and events are not "inherited" > from the ones set after .Create and which

[twsocket] Properties and event declarations

2006-02-15 Thread Dod
Hello, Is there a list of which properties and events are not "inherited" from the ones set after .Create and which ones must be re-set again after a socket close (for socket.connect I think it is just ip+port as they are the only ones raising an error but I am not about other propert