Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Class
java.net.Socket

Packages that use Socket
java.net Provides the classes for implementing networking applications. 
 

Uses of Socket in java.net
 

Methods in java.net that return Socket
 Socket ServerSocket.accept()
          Listens for a connection to be made to this socket and accepts it.
 

Methods in java.net with parameters of type Socket
protected  void ServerSocket.implAccept(Socket s)
          Subclasses of ServerSocket use this method to override accept() to return their own subclass of socket.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.