Multiple Choices
(Choose 1 answer)
Which method of the socket module allows you to implement port scanning with sockets and to check the port state?
A. The sock.connect_ex((ip_address, port)) method
B. The socket.accept() method
C. The sock.connect_ex(port, IP) method
D. The socket.connect(port) method