SocketImpl.create

SocketImpl.create

Class Overview | Class Members | This Package | All Packages

Syntax
protected abstract void create( boolean stream ) throws IOException
Parameters
stream
if true, create a stream socket; otherwise, create a datagram socket.
Description
Creates either a stream or a datagram socket.

Exceptions
IOException if an I/O error occurs while creating the socket.