cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_python_socket Namespace Reference

Variables

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

Variable Documentation

◆ bufferSize

int test_python_socket.bufferSize = 1024

Definition at line 12 of file test_python_socket.py.

◆ bytesToSend

test_python_socket.bytesToSend = str.encode(msgFromClient)

Definition at line 10 of file test_python_socket.py.

◆ msg

string test_python_socket.msg = "Message from Server {}".format(msgFromServer[0])

Definition at line 22 of file test_python_socket.py.

◆ msgFromClient

string test_python_socket.msgFromClient = "HelloUDPServer"

Definition at line 9 of file test_python_socket.py.

◆ msgFromServer

test_python_socket.msgFromServer = UDPClientSocket.recvfrom(bufferSize)

Definition at line 20 of file test_python_socket.py.

◆ serverAddressPort

tuple test_python_socket.serverAddressPort = ("127.0.0.1", 2718)

Definition at line 11 of file test_python_socket.py.

◆ UDPClientSocket

test_python_socket.UDPClientSocket = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)

Definition at line 15 of file test_python_socket.py.