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

Make a class for sending new data to the server of ROOT_application. More...

Classes

class  TCPClient
 Make a connection to the root application server to send directly new data. More...
 

Variables

string data = "DJ,2014-09-22 22:08:09,17172.680000,74298798.000000"
 
tuple tcp = TCPClient()
 
tuple received = tcp.SendData( data )
 Receive data from the server and shut down received = sock.recv(1024) sock.close() More...
 

Detailed Description

Make a class for sending new data to the server of ROOT_application.

A simple TCP client using module socket

Last Changed

Id:
ModClientTCP.py 13 2015-04-12 19:45:14Z michael

Variable Documentation

string serverportfolio.ModClientTCP.data = "DJ,2014-09-22 22:08:09,17172.680000,74298798.000000"

Definition at line 117 of file ModClientTCP.py.

tuple serverportfolio.ModClientTCP.received = tcp.SendData( data )

Receive data from the server and shut down received = sock.recv(1024) sock.close()

Definition at line 136 of file ModClientTCP.py.

tuple serverportfolio.ModClientTCP.tcp = TCPClient()

Definition at line 120 of file ModClientTCP.py.