cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tc_TcpTest.py File Reference

Go to the source code of this file.

Namespaces

 tc_TcpTest
 

Functions

def tc_TcpTest.tcp_rx_loop (clientSock, serverSock, size, ip_da, tcp_dp, count, verbose=False)
 

Variables

 tc_TcpTest.parser = argparse.ArgumentParser(description='A script to receive TCP data from an FPGA module.')
 
 tc_TcpTest.type
 
 tc_TcpTest.str
 
 tc_TcpTest.default
 
 tc_TcpTest.help
 
 tc_TcpTest.int
 
 tc_TcpTest.action
 
 tc_TcpTest.args = parser.parse_args()
 
 tc_TcpTest.ipFpga = getFpgaIpv4(args)
 
 tc_TcpTest.instId = getInstanceId(args)
 
 tc_TcpTest.ipResMngr = getResourceManagerIpv4(args)
 
 tc_TcpTest.portFpgaServer = XMIT_MODE_LSN_PORT
 
 tc_TcpTest.portResMngr = getResourceManagerPort(args)
 
tuple tc_TcpTest.fpgaServerAssociation = (str(ipFpga), portFpgaServer)
 
 tc_TcpTest.tcpClientSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
 tc_TcpTest.hostname = socket.gethostname()
 
 tc_TcpTest.ipHostStr = socket.gethostbyname(hostname)
 
 tc_TcpTest.ipHost = int(ipaddress.IPv4Address(ipHostStr))
 
int tc_TcpTest.dpHost = 2718
 
tuple tc_TcpTest.hostListenAssociation = (str(ipHostStr), dpHost)
 
 tc_TcpTest.tcpListenSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
 tc_TcpTest.reqMsgAsBytes = struct.pack(">IHH", ipHost, dpHost, 0)
 
 tc_TcpTest.tcpServerSock
 
 tc_TcpTest.fpgaClientAssociation
 
 tc_TcpTest.seed = args.seed
 
 tc_TcpTest.size = args.size
 
 tc_TcpTest.count = args.loop_count
 
 tc_TcpTest.verbose = args.verbose