ServerPortfolio  2.0
Python parsers and server
 All Classes Namespaces Files Functions Variables Properties Pages
Functions | Variables
serverportfolio.SocketServer_Client Namespace Reference

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...
 

Detailed Description

To communicate with the server.

Only use to send string data request / print answer a simple TCP client using module SocketServer

Last Changed

Id:
SocketServer_Client.py 9 2015-04-02 23:27:25Z michael

Function Documentation

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.

Variable Documentation

string serverportfolio.SocketServer_Client.data = " "

main function ##########

Definition at line 59 of file SocketServer_Client.py.

tuple serverportfolio.SocketServer_Client.received = SendData( data )

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.