Java.Net.Socket: Constructor Members

The constructors of Java.Net.Socket are listed below. For a list of all members, see the Socket Members list.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new unconnected socket.
Creates a new unconnected socket using the given proxy type.
Creates a new streaming socket connected to the target host specified by the parameters dstAddress and dstPort.
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort.
Creates a new streaming or datagram socket connected to the target host specified by the parameters addr and port.
Creates a new streaming or datagram socket connected to the target host specified by the parameters hostName and port.
Creates a new streaming socket connected to the target host specified by the parameters dstAddress and dstPort.
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort.

Protected Constructors

Creates an unconnected socket with the given socket implementation.
A constructor used when creating managed representations of JNI objects; called by the runtime.