TiledViz
Loading...
Searching...
No Matches
connect.sock.client Class Reference

Public Member Functions

 __init__ (self, port=PORTServer)
 send_server (self, command)
 receive (self, nb)
 recv (self)
 send_OK (self, iRET)
 get_OK (self)
 send_file (self, path, filename)
 get_file (self, path, filename, filesize, filesha256)
 close (self)

Public Attributes

 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

Detailed Description

Definition at line 54 of file sock.py.

Constructor & Destructor Documentation

◆ __init__()

connect.sock.client.__init__ ( self,
port = PORTServer )

Definition at line 55 of file sock.py.

Member Function Documentation

◆ close()

connect.sock.client.close ( self)

Definition at line 211 of file sock.py.

◆ get_file()

connect.sock.client.get_file ( self,
path,
filename,
filesize,
filesha256 )

Definition at line 153 of file sock.py.

◆ get_OK()

connect.sock.client.get_OK ( self)

Definition at line 110 of file sock.py.

◆ receive()

connect.sock.client.receive ( self,
nb )

Definition at line 72 of file sock.py.

◆ recv()

connect.sock.client.recv ( self)

Definition at line 93 of file sock.py.

◆ send_file()

connect.sock.client.send_file ( self,
path,
filename )

Definition at line 121 of file sock.py.

◆ send_OK()

connect.sock.client.send_OK ( self,
iRET )

Definition at line 98 of file sock.py.

◆ send_server()

connect.sock.client.send_server ( self,
command )

Definition at line 68 of file sock.py.

Member Data Documentation

◆ s

connect.sock.client.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

Definition at line 56 of file sock.py.


The documentation for this class was generated from the following file:
  • /github/workspace/TVConnections/connect/sock.py