Question: Consider the following source code: import datetime from socket import serverPort = 8008 serverSocket = socket(AF_INET,SOCK STREAM) serverSocket.bind(serverPort)) serverSocket listen(1) print('The W0123456 server is ready
Consider the following source code: import datetime from socket import serverPort = 8008 serverSocket = socket(AF_INET,SOCK STREAM) serverSocket.bind("serverPort)) serverSocket listen(1) print('The W0123456 server is ready to receive) Which of the following is true about the above source code? Select one: a. The code creates an IPv4 UDP socket on port 8008 b. The code creates an IPv4 TCP socket on port 8008 c. The code creates an IPv4 TCP socket on port 1 d. The code creates an IPV6 TCP socket on port 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
