specify port no
Posted in 2003
Lee — — source: Usenet: comp.databases.informix
> Hi, > I'm developing a socket program to connect to Informix database > through the ODBC. In here i called my socket program as "tap" . My tap > will listen for data from unix through port 1070. After checking of > the data, tap will then insert the data to the informix database. I > know we can point the tap to one specified port in Informix database > through the services file. My question is how should i know to which > port my tap program send out to the informix database or should i ask > how should i specify one port to connect to the informix and lock that > port from other process to use it?For current moment, my tap will > randomly pick one port to connect to informix database.