Re: [twsocket] Check Remote Port

2016-08-24 Thread Charalampos Michael
ket@lists.elists.org> Subject: Re: [twsocket] Check Remote Port Hello, Why don't you use events ? ICS is so good event oriented. regards. ccg> Hello, ccg>Is there any easier way to check if a port is open on a remote ccg> server at runtime ? ccg> var ccg>SocketError: Integer;

Re: [twsocket] Check Remote Port

2016-07-22 Thread François Piette
> Is there any easier way to check if a port is open on a remote server at runtime ? The only reliable way to check for open port is to try to connect to it. If you get error 10061, then the port is not opened at server side. Btw: In you code, it is better to not use a wait loop. Instead use