Accessing the Network on the Device
The device operating system puts up a firewall that keeps outside applications from opening connections into the device. To get around this, the following PDL call allows applications to open or close a port on the firewall:
PDL_Err PDL_SetFirewallPortStatus(int port, PDL_bool Open);
Ports can be anywhere in the 1025 - 65536 range.