TCP connect - Timeout

IT it at plastipol.com
Wed Nov 25 10:25:25 EST 2020


Hi Michael

In macos, you can do a telnet to the ip and specify the port

If you get the connection, the ip and port is ready

Use $runapplescript() to integrate with omnis

regards


xavier

> El 25 nov 2020, a las 15:10, Michael Mantkowski <michaelj at clientrax.com> escribió:
> 
> Does anyone know if there is a way to set the timeout for TCP Connect?
> 
> I use the following command to connect to a PACS Server to check the status of an Image Study.  (PACS = Medical Term for Image Storage Server/Application.)
> 
>       TCPConnect (pvServer,pvPort) Returns lvSocket
> 
> The issue is that when the PACS is offline or not listening it takes 60 seconds for Omnis to return the error that it cannot set a socket.
> 
> I can use "TCPPing" to see if the Server is there.  But that is only half the equation.  It has to be listening on the proper Port.  TCPPing does not seem to have the option for testing the Port as well as the main address.
> 
> Looking for a way to quickly test that the system is there with the proper port open so the user is not sitting there for a full minute waiting.
> 
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list