# 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.
>     PDL_ECONNECTION — Unable to communicate with app card.
>     PDL_NOERROR — Success.