The client in socket programming must know which information?

Lượng Tiger

New member
The client in socket programming must know which information?
A. IP address of Server
B. Port number
C. Both IP address of Server & Port number
D. Only its own IP address
 
Answer: c
Explanation: The client in socket programming must know IP address of Server as it has to use that IP address in order to initialize the socket class constructor. That is how the client requests a connection to the server.
 

Tìm kiếm

Back
Top