ServerPortfolio
2.0
Python parsers and server
|
To communicate with the server. More...
Functions | |
def | Connect |
def | SendData |
def | SendDataNoReturn |
test, not used, to delete More... | |
Variables | |
tuple | sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
string | data = " " |
main function ########## More... | |
tuple | status = Connect() |
tuple | received = SendData( data ) |
Receive data from the server and shut down received = sock.recv(1024) sock.close() More... | |
To communicate with the server.
Only use to send string data request / print answer a simple TCP client using module SocketServer
Last Changed
def serverportfolio.SocketServer_Client.Connect | ( | ) |
Definition at line 21 of file SocketServer_Client.py.
def serverportfolio.SocketServer_Client.SendData | ( | data | ) |
Definition at line 37 of file SocketServer_Client.py.
def serverportfolio.SocketServer_Client.SendDataNoReturn | ( | data | ) |
test, not used, to delete
Definition at line 49 of file SocketServer_Client.py.
string serverportfolio.SocketServer_Client.data = " " |
main function ##########
Definition at line 59 of file SocketServer_Client.py.
Receive data from the server and shut down received = sock.recv(1024) sock.close()
Definition at line 82 of file SocketServer_Client.py.
tuple serverportfolio.SocketServer_Client.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
Definition at line 19 of file SocketServer_Client.py.
tuple serverportfolio.SocketServer_Client.status = Connect() |
Definition at line 72 of file SocketServer_Client.py.