Creates a receive socket associated with the given network interface adapter, for the given IP address to listen at.

C# | Visual Basic | Managed C++ |
IListener Listen ( NetworkAddress address, ReceiveCallback callback, Object context, params IParameter[] parameters )
Function Listen ( _ address As NetworkAddress, _ callback As ReceiveCallback, _ context As Object, _ ParamArray parameters As IParameter() _ ) As IListener
IListener^ Listen ( NetworkAddress^ address, ReceiveCallback^ callback, Object^ context, ... array<IParameter^>^ parameters )

- address (NetworkAddress)
- The address to listen at. It can be an IP multicast address.
- callback (ReceiveCallback)
- The callback to invoke when a UDP packet arrives.
- context (Object)
- The context object to pass to the callback that can be used to associate additional state with the receive socket.
- parameters (IParameter[]())
- Additional configuration parameters for the receive socket. The list of parameters depends on whether the device is physical or virtual.

The object that represents the receive socket.