What is java.net.Socket...? - TechRepublic
General discussion
December 29, 2000 at 01:35 PM
danielr

What is java.net.Socket…?

by danielr . Updated 25 years, 5 months ago

In this paragraph what is java.net.Socket, java.net.DatagramSocket, and java.net.ServerSocket?
The value for SO_TIMEOUT is set by using the setSoTimeout() method, supported by java.net.Socket, java.net.DatagramSocket, and java.net.ServerSocket. ThesetSoTimeout method accepts an int, which is the amount of time in milliseconds allowed before a timeout is encountered (for example, a value of 2000 equals two seconds).

This discussion is locked

All Comments