---------------------------------------------------------------------- This is the API documentation for the gdtest_numpy_seealso_desc library. ---------------------------------------------------------------------- ## Functions Public functions connect(host: str, port: int = 8080) -> object Open a connection to a remote host. Parameters ---------- host The hostname or IP address. port The port number. Returns ------- object A connection handle. See Also -------- disconnect : Close an open connection. send : Transmit data over a connection. disconnect(conn: object) -> None Close an open connection. Parameters ---------- conn The connection handle to close. See Also -------- connect : Open a new connection. send(conn: object, data: bytes) -> int Send data over a connection. Parameters ---------- conn An open connection handle. data The data to transmit. Returns ------- int Number of bytes sent. See Also -------- receive : Read data from a connection. connect : Open a new connection first. receive(conn: object, size: int = 1024) -> bytes Receive data from a connection. Parameters ---------- conn An open connection handle. size Maximum number of bytes to read. Returns ------- bytes The received data. See Also -------- send : Transmit data over a connection. disconnect : Close the connection when done.