Skip to content

Home News Screenshots Wiki Themes Bugtracker Members Logos Search
  You are not logged in Link icon Log in Link icon Join
You are here: Home » PicoGUI Wiki » cli_python documentation » NetworkModule

Log in
FrontPage » LowLevelLibrary »


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 address and display display, fetch the hello packet and return the socket object.