語言

SocketImpl.InterfaceConsts.SoReuseport 欄位

定義

警告

This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.

套筒SO_REUSEPORT。

[Android.Runtime.Register("SO_REUSEPORT", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)]
public const Java.Net.SocketOption SoReuseport = 14;
[<Android.Runtime.Register("SO_REUSEPORT", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable SoReuseport : Java.Net.SocketOption

欄位值

Value = 14
屬性

備註

套筒SO_REUSEPORT。 此選項啟用或停用多個套接字同時監聽同一位址與埠的功能。

適用於:SocketImpl、DatagramSocketImpl

新增9。

Java 文件 java.net.SocketOptions.SO_REUSEPORT

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於