# AG\_CHKPCNET
> [HTML Version](ag_chkpcnet.htm)
_Reviewed and revised December 2023_
**tab(-10, AG\_CHKPCNET); chr(127)** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md)
AG\_CHKPCNET (74) allows you to detect the state of the ATE-connected PC'S internet connectivity from the server.
This function has both a [subroutine and a print tab implementation](subroutine-print-pairs.htm.md).
**Parameters**
none
**Response **
_flags_
**Comments**
The return flags can be captured into a B,2 variable. Unlike the MX\_CHKPCNET version where the status and returned flags are separate, here they are combined, with the status in the upper byte and the flags in the lower. They can be split back out as follows:
status = flags / 65536
flags = flags and \&hffff
See [MX\_CHKPCNET](mx_chkpcnet.htm.md)[xs](keyword-types.htm.md) for definitions of _status_ and _flags_.