Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title IP info from phrelay
Ref. No. QNX.000007265
Category(ies) Development, Configuration
Issue Is there a way to get information on our IP address from phrelay?




Solution There are no API calls allowing a query to phrelay to find out about the IP address.  The phrelay driver acts like a graphics driver and has no idea about the underlying TCP protocol.

You can get this info indirectly
by looking at the $PHOTON
environment variable, it will give
you the pid of the phrelay, then
you can do a "sin fd" on this
phrelay to get the IP address of
the Windows box.