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

Go to the source code of this file.

Namespaces

 test_python_socket
 

Variables

string test_python_socket.msgFromClient = "HelloUDPServer"
 
 test_python_socket.bytesToSend = str.encode(msgFromClient)
 
tuple test_python_socket.serverAddressPort = ("127.0.0.1", 2718)
 
int test_python_socket.bufferSize = 1024
 
 test_python_socket.UDPClientSocket = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)
 
 test_python_socket.msgFromServer = UDPClientSocket.recvfrom(bufferSize)
 
string test_python_socket.msg = "Message from Server {}".format(msgFromServer[0])