Question: Socket Programming in Python with client/server. Can you pls be neat so I can understand what you're doing. Blazernet-bia1994 port-3310 1. Start the ROBOT using


1. Start the ROBOT using either Python or Java: a. python robot.py b. java robot (you need to compile first using javac robot.java) 2. When the ROBOT is started, a message "ROBOT IS STARTED" will be printed, indicating that the ROBOT is now listening on TCP Port 3310. STUDENT has to connect to the ROBOT TCP Port 3310 and send your Blazer D via the connection established. 3. The ROBOT will then send a 5 char string ddddd to the STUDENT. STUDENT will need to create a TCP sockets 2 at port ddddd to accept a new connection. The ROBOT will initiate the new connection 1 second later after sending ddddd. Upon accepting the connection, a new socket $2 will be returned, STUDENT ROBOT Connect SOCKET 51 Listening on TCP 3310 Send student ID Recv 5 char string dddddd. SOCKET 52 listening for connection on TCP ddddd and get 52 Accept the new TCP connection Walt 1 second before making new connection to port ddddd hp for connection on TCP ddddd and get 52 Accept the new TCP connection Wait 1 second before making new connection to port ddddd 4. ROBOT will then send a 12 char string "fffff,eeeee." to the STUDENT using the new connection. STUDENT needs to decode the message and create a UDP socket s3 to send a variable num (5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
