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()

Inherited methods

Public constructors

SocketAddress

added in API level 1
public SocketAddress ()