WasiSocketAddressCheck Delegate

Decides whether a component can use an address (see WasiHostNetworkOptions.AddressCheck).

public delegate bool WasiSocketAddressCheck(IPEndPoint endPoint, WasiSocketAddressUse use)

Parameters

endPoint IPEndPoint
The address and the port.
use WasiSocketAddressUse
What the component does with the address.