interface IUdpSession extends ${INetworkSession} {
// Methods
${bind}(hostName: string, port: number): Promise<void>;
}
// This interface is not available in managed environment
// This interface is not available in native environment
bind(hostName: string, port: number): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
hostName
port
Starts a bind operation on UDP session. Returns a promise that can be awaited.