Hi - a question about socket connections in Progress.
We use server sockets to connect to a couple of things in our software. This all works very well, until you try and startup a second instantiation of the software. At that point you get messages to say that the TCP port is already busy. We've had a look at using SESSION:FIRST-SERVER-SOCKET to try and connect to the same server socket, but sadly this isn't possible as the second instantiation of the software is on a different session.
Does anyone know if it's possible to query the TCP port somehow to see if it's in use and connect to the same server socket that is already in use?
Hope this question makes sense!
Cheers
We use server sockets to connect to a couple of things in our software. This all works very well, until you try and startup a second instantiation of the software. At that point you get messages to say that the TCP port is already busy. We've had a look at using SESSION:FIRST-SERVER-SOCKET to try and connect to the same server socket, but sadly this isn't possible as the second instantiation of the software is on a different session.
Does anyone know if it's possible to query the TCP port somehow to see if it's in use and connect to the same server socket that is already in use?
Hope this question makes sense!
Cheers