DatagramSocket
DatagramSocket()
DatagramSocket(DatagramSocketImpl)
DatagramSocket(Int32)
DatagramSocket(SocketAddress)
DatagramSocket(Int32, InetAddress)
DatagramSocket(IntPtr, JniHandleOwnership)
Broadcast
Channel
InetAddress
IsBound
IsClosed
IsConnected
JniPeerMembers
LocalAddress
LocalPort
LocalSocketAddress
Port
ReceiveBufferSize
RemoteSocketAddress
ReuseAddress
SendBufferSize
SoTimeout
ThresholdClass
ThresholdType
TrafficClass
Bind(SocketAddress)
Close()
Connect(SocketAddress)
Connect(InetAddress, Int32)
ConnectAsync(SocketAddress)
ConnectAsync(InetAddress, Int32)
Disconnect()
GetOption(ISocketOption)
Receive(DatagramPacket)
ReceiveAsync(DatagramPacket)
Send(DatagramPacket)
SendAsync(DatagramPacket)
SetDatagramSocketImplFactory(IDatagramSocketImplFactory)
SetOption(ISocketOption, Object)
SupportedOptions()
net9.0-android34.0
namespace Java.Net
{
[Register("java/net/DatagramSocket", DoNotGenerateAcw = true)]
public class DatagramSocket : Object, IJavaObject, IJavaPeerable, ICloseable, IDisposable
{
public virtual InetAddress? InetAddress
{
[Register("getInetAddress", "()Ljava/net/InetAddress;", "GetGetInetAddressHandler")]
get;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API