Documentation for a minimal subset of the QSM API
Listen Method (address, callback, context, parameters)
Namespaces > QS.Fx.Network > INetworkInterface > Listen(NetworkAddress, ReceiveCallback, Object, IParameter[]())
Creates a receive socket associated with the given network interface adapter, for the given IP address to listen at.
Syntax
C#Visual BasicManaged 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
)
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.
Return Value
The object that represents the receive socket.

Assembly: QuickSilver_1 (Module: QuickSilver_1) Version: 1.0.0.0