public enum TcpFlags extends Enum<TcpFlags>
TCPHandle#bind(int, String, boolean)http://docs.libuv.org/en/v1.x/tcp.html#c.uv_tcp_bind| Enum Constant and Description |
|---|
UV_TCP_IPV6ONLY
flags can contain UV_TCP_IPV6ONLY,
in which case dual-stack support is disabled and only IPv6 is used.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TcpFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpFlags UV_TCP_IPV6ONLY
public static TcpFlags[] values()
for (TcpFlags c : TcpFlags.values()) System.out.println(c);
public static TcpFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 WebFolder. All rights reserved.