Hi all,

I have a question about dbiProxy

We have a dbiproxy server set up on a windows machine with about 22 ports 
(since windows doesn't fork) and a RUMBA connection to an AS/400 machine 
with DB2 on it. We're using the proxy to connect to the DB2 from a linux box 
so we can pull data for analytics. That works pretty well, but...I need a 
better way to find out if a port is available.

Right now, I have some code which will do a quick SQL rowcount through a 
port, and if I don't get a response in a few seconds I consider the port 
either busy or dead. It's not a very good system, though, and it's hard to 
tell what the actual status of a port is.

Does anyone know if there are any commands you can use to find out if a port 
is open, or in use? Ideally, I'd like to know if a port is open or not, and 
if it is currently being used by another process.

Any help would be appreciated.

David Sevier
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to