ホーム › Networking.WindowsWebServices › WS_IP_VERSION
WS_IP_VERSION
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| WS_IP_VERSION_4 | 1 | 0x1 | IPv4 を使用します。 |
| WS_IP_VERSION_6 | 2 | 0x2 | IPv6 を使用します。 |
| WS_IP_VERSION_AUTO | 3 | 0x3 |
公式ドキュメント
IP バージョンを指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum WS_IP_VERSION : int {
WS_IP_VERSION_4 = 1,
WS_IP_VERSION_6 = 2,
WS_IP_VERSION_AUTO = 3
} WS_IP_VERSION;public enum WS_IP_VERSION : int
{
WS_IP_VERSION_4 = 1,
WS_IP_VERSION_6 = 2,
WS_IP_VERSION_AUTO = 3,
}Public Enum WS_IP_VERSION As Integer
WS_IP_VERSION_4 = 1
WS_IP_VERSION_6 = 2
WS_IP_VERSION_AUTO = 3
End Enumimport enum
class WS_IP_VERSION(enum.IntEnum):
WS_IP_VERSION_4 = 1
WS_IP_VERSION_6 = 2
WS_IP_VERSION_AUTO = 3// WS_IP_VERSION
pub const WS_IP_VERSION_4: i32 = 1;
pub const WS_IP_VERSION_6: i32 = 2;
pub const WS_IP_VERSION_AUTO: i32 = 3;// WS_IP_VERSION
const (
WS_IP_VERSION_4 int32 = 1
WS_IP_VERSION_6 int32 = 2
WS_IP_VERSION_AUTO int32 = 3
)const
WS_IP_VERSION_4 = 1;
WS_IP_VERSION_6 = 2;
WS_IP_VERSION_AUTO = 3;// WS_IP_VERSION
pub const WS_IP_VERSION_4: i32 = 1;
pub const WS_IP_VERSION_6: i32 = 2;
pub const WS_IP_VERSION_AUTO: i32 = 3;const
WS_IP_VERSION_4* = 1
WS_IP_VERSION_6* = 2
WS_IP_VERSION_AUTO* = 3enum WS_IP_VERSION : int {
WS_IP_VERSION_4 = 1,
WS_IP_VERSION_6 = 2,
WS_IP_VERSION_AUTO = 3,
}#define global WS_IP_VERSION_4 0x1
#define global WS_IP_VERSION_6 0x2
#define global WS_IP_VERSION_AUTO 0x3