connect
Attempts to establish a connection to the PGN daemon.
This function must be called prior to attempting any reads or writes.
Parameters
ip Address
IP address of the Pico device running PGN which we want to connect to.
port
Port on which PGN is running. This is usually port 8080.