PDL_SetFirewallPortStatus

Description

The device operating system puts up a firewall that keeps outside applications from opening connections into the device. To get around this, you can use this call to open or close a port on the firewall.

Ports can be in the range 1025–65536.

Syntax

PDL_Err PDL_SetFirewallPortStatus(int port, PDL_bool Open);     

Returns

PDL_INVALIDINPUT — Port is not in 1025–65536 range, or attempt to close port that is not open.
PDL_ECONNECTION — Unable to communicate with app card.
PDL_EOTHER — Internal Error closing port (no pending subscription found).
PDL_NOERROR — Success or port is already open.