This interface is implemented by an UDP socket. Call the INetworkManager.createUdpSocket method to create an UDP socket.
This functionality is not available on Windows 7. Attempt to create a UDP socket with a call to INetworkManager.createUdpSocket method will fail.
interface IUdpSocket extends ${Net.ISocket} {
// Methods
${bind}(host: string, port: number): Promise<void>;
}
// This interface is not available in managed environment
// This interface is not available in native environment
bind(host: string, port: number): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
host
port
Bind an UDP socket.