Re: [twsocket] OpenSSL 1.0.2g support

2016-03-14 Thread Eugene Kotlyarov
Hi I wonder should default value of TSSLContext.SslVersionMethod be also updated to be at least sslV3, or to sslTLS_V1 -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: March-03-16 11:52 AM To: twsocket

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> For that reason I wrote if it is possible to make it async > earlier. Yes, put your code in the event. > I know that I can put something like "Sleep(100)" No, that will stop the thread for 100ms so nothing more happens. If you really can handle events, you can use something like this: proc

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread RTT
On 14/03/2016 13:11, Ertan Küçükoğlu wrote: MagIpLog1.StartLogging; if Label2.Caption = 'OK' then begin Label3.Caption := 'Connection OK!'; MagIpLog1.StopLogging; What async means is that the MagIpLog1.StartLogging returns immediately, not after the connection has been established

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Ertan Küçükoğlu
I tried to explain that I have two applications. Both running on my computer. One listening, one connecting. My code example was from the one that is making the connection. That code was all there was to post here. After your below e-mail I added 3 TMemo and wrote some more code to have everything

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> I have prepared two test projects. There is one TMagIpLog > component dropped on form for each project. One test project is > listening its local TCP port Impossible to say what is wrong from your partial code and lack of any attempt to log activities in the applications. You should be reportin

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Ertan Küçükoğlu
I have prepared two test projects. There is one TMagIpLog component dropped on form for each project. One test project is listening its local TCP port 5000. LogProtocol is set to logprotTcpServer. Second test project is trying to establish a connection to the first test Project using same port numb

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> // PING OK. DO DIRECT TCP CONNECTION > if not TestClientConnection(ClientIP, Err) then begin > Result := '***ERROR: Client TCP connection fail.'; If you really want to do these tests from the server, this needs to become async. You create an array of TWSocket or TMagIpLog components,

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> Below is my code where I need to complete my pre-tests. I will > appreciate, If you can advise as to how to > manage what I am trying to do. Which does not use any ICS functions or events apart from ping, and is really beyond the scope of this mailing list which is for TWSocket support. But