Re: [twsocket] TWSocket not connecting for me

2007-03-09 Thread Wilfried Mestdagh
mailing twsocket@elists.org Sent: Thursday, March 08, 2007 6:46 PM Subject: [twsocket] TWSocket not connecting for me Hi, I have a problem with TWSocket.State staying as wsConnecting after I try and connect. I am using a thread to execute an SQL query. For each result from this query, I

[twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
Hi, I have a problem with TWSocket.State staying as wsConnecting after I try and connect. I am using a thread to execute an SQL query. For each result from this query, I connect to a remote server using the TWSocket, and send some data. That's the plan. In the Thread.Execute procedure, I

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 twsocket@elists.org Sent: Thursday, March 08, 2007 6:46 PM Subject: [twsocket] TWSocket not connecting for me Hi, I have a problem

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
@elists.org Sent: Thursday, March 08, 2007 6:46 PM Subject: [twsocket] TWSocket not connecting for me Hi, I have a problem with TWSocket.State staying as wsConnecting after I try and connect. I am using a thread to execute an SQL query. For each result from this query, I connect to a remote

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Francois PIETTE
08, 2007 5:46 PM Subject: [twsocket] TWSocket not connecting for me Hi, I have a problem with TWSocket.State staying as wsConnecting after I try and connect. I am using a thread to execute an SQL query. For each result from this query, I connect to a remote server using the TWSocket

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
] TWSocket not connecting for me 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

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
not connecting for me Hi, I have a problem with TWSocket.State staying as wsConnecting after I try and connect. I am using a thread to execute an SQL query. For each result from this query, I connect to a remote server using the TWSocket, and send some data. That's the plan

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
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? Regards, Andy Fastream Technologies wrote: Do you have a message pump in the thread.execute? Regards, SZ

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread Fastream Technologies
[EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org 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 source and decided to use

Re: [twsocket] TWSocket not connecting for me

2007-03-08 Thread info2004
PROTECTED] http://www.overbyte.be - Original Message - From: info2004 [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, March 08, 2007 6:49 PM Subject: Re: [twsocket] TWSocket not connecting for me Francois, Thanks for the response. The .State

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 twsocket@elists.org Sent: Thursday, March 08, 2007 9:45 PM Subject: Re: [twsocket] TWSocket not connecting for me Francois, Francois

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 had to