SocketAddress.ip4

Returns a single address object for the given protocol and parameters.

You probably should generally prefer get, localhost, or allInterfaces to have more flexible code.

  1. SocketAddress ip4(char[] address, ushort port, bool forListening)
  2. SocketAddress ip4(ushort port)
    struct SocketAddress
    static
    ip4
    (
    ushort port
    )

Meta