Added in API level 1

SocketAddress

public abstract class SocketAddress
extends Object implements Serializable

java.lang.Object
   ↳ java.net.SocketAddress


This class represents a Socket Address with no protocol attachment. As an abstract class, it is meant to be subclassed with a specific, protocol dependent, implementation.

It provides an immutable object used by sockets for binding, connecting, or as returned values.

See also:

Summary

Public constructors

SocketAddress()

Constructor for subclasses to call.

Inherited methods

Public constructors

SocketAddress

Added in API level 1
public SocketAddress ()

Constructor for subclasses to call.