Thank you
Now it works fine :-)
I have tested status 0, 2 and 5
What is status 5 ?
with
NetworkService.Status(https://mail. srv-custom, timeout=1000)
0 = success (ok)
5 = when no response from server
with
NetworkService.Status(tcp://mail.srv-custom.de:443, timeout=1000)
0 = success (ok)
2 = no response from server
I found:
0 - success (server was connected and return expected response)
1 - invalid arguments was passed (most likely regular expression has incorrect syntax)
2 - cannot connect to server
3 - bad server's response
				
			Now it works fine :-)
I have tested status 0, 2 and 5
What is status 5 ?
with
NetworkService.Status(https://mail. srv-custom, timeout=1000)
0 = success (ok)
5 = when no response from server
with
NetworkService.Status(tcp://mail.srv-custom.de:443, timeout=1000)
0 = success (ok)
2 = no response from server
I found:
0 - success (server was connected and return expected response)
1 - invalid arguments was passed (most likely regular expression has incorrect syntax)
2 - cannot connect to server
3 - bad server's response
 
  )
)
