Re: [twsocket] TWSocket not connecting for me

2007-03-09 Thread Wilfried Mestdagh
>> From: "info2004" <[EMAIL PROTECTED]> >> To: "ICS support mailing" >> Sent: Thursday, March 08, 2007 7:37 PM >> Subject: Re: [twsocket] TWSocket not connecting for me >> >> >>> SZ, >>> >>> Erm, I guess not. Wh

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Francois PIETTE
>> btw: You frequently don't need thread with ICS because it is asynchronous >> and non-blocking. It multitask automatically WITHOUT using threads. >> Programming is then much easier... > To date, I have used the components without additional threads. This is > my first experience using threads. I

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
I do not think TWSocketServer is thread-safe! Am I wrong? Regards, SZ - Original Message - From: "info2004" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 08, 2007 9:45 PM Subject: Re: [twsocket] TWSocket not connecting for me >

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "info2004" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Thursday, March 08, 2007 6:49 PM > Subj

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Francois PIETTE
t mailing" Sent: Thursday, March 08, 2007 6:49 PM Subject: Re: [twsocket] TWSocket not connecting for me > Francois, > > Thanks for the response. > > The .State parameter stays at wsConnecting for minutes - then I terminate. > > I am going to look at SZ's message

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
t;info2004" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 08, 2007 8:18 PM Subject: Re: [twsocket] TWSocket not connecting for me > SZ, > > I had a look through the list and saw the ref's to get and peek etc. > > I did a grep on the

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
fo2004" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Thursday, March 08, 2007 7:37 PM > Subject: Re: [twsocket] TWSocket not connecting for me > > >> SZ, >> >> Erm, I guess not. What do I need for that or where do I go to find out? &g

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
Francois, Thanks for the response. The .State parameter stays at wsConnecting for minutes - then I terminate. I am going to look at SZ's messagepump angle, as that sounds quite promising. Regards, Andy Francois PIETTE wrote: > Maybe your problem is that when calling Connect you ask the compo

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
hread. If you want parallel execution in the same thread, use async/events plus GetMessage of your own. Best Regards, SubZero - Original Message - From: "info2004" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 08, 2007 7:37 PM Subje

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Francois PIETTE
Maybe your problem is that when calling Connect you ask the component to connect. You get control back immediately (asynchronous method) while the component try to establish the connection for you. Once the connection is established, you have OnSessionConnected event which is triggered. This is

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
SZ, Erm, I guess not. What do I need for that or where do I go to find out? Regards, Andy Fastream Technologies wrote: > Do you have a message pump in the thread.execute? > > Regards, > > SZ > > - Original Message - > From: "info2004" <[EMAIL PROTECTED]> > To: "ICS support mailing"

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
Do you have a message pump in the thread.execute? Regards, SZ - Original Message - From: "info2004" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 08, 2007 6:46 PM Subject: [twsocket] TWSocket not connecting for me > Hi, > > I have a problem with TWSocket.State