FrontPage
»
LowLevelLibrary
»
NetworkModule
This module encapsulates the basics of connecting to a ../PicoGUI server trough TCP/IP.
It implements only two exception class (Error, which isn't used yet, and ProtocolError), and one "factory" function, sock, which returns a socket.socket instance already initialized and tested.
sock(address="localhost", display=0)- connects to pgserver at address
addressand displaydisplay, fetch thehellopacket and return the socket object.