+ 1
Socket and server socket.
What is the use of Socket and ServerSocket in Java Networking? Select the appropriate option(s). a. The class Socket is used to run two programs in two different machines and then communicate each other. b. The class Socket is used to run two programs in the same machines and then communicate each other. C. The class ServerSocket is used to run two programs in two different machines and then communicate each other d. The class Server Socket is used to run a program in a machine and then listen to other programs defined with Socket class.
3 Antworten
+ 2
it is client - server connection, so it is usually used to connect two computers
Socket (client) <----> ServerSocket (server)
0
which point of "community guidelines" is not observed here ?
- 1
you could have just Google this, please follow the community guidelines
https://www.sololearn.com/discuss/1316935/?ref=app