Documentation for a minimal subset of the QSM API
ReceiveCallback Delegate
Namespaces > QS.Fx.Network > ReceiveCallback
This callback is invoked when a packet arrives on a receive socket.
Syntax
C#Visual BasicManaged C++
public delegate void ReceiveCallback (
	IPAddress address,
	int port,
	Block data,
	Object context
)
Public Delegate Sub ReceiveCallback ( _
	address As IPAddress, _
	port As Integer, _
	data As Block, _
	context As Object _
)
public delegate void ReceiveCallback (
	IPAddress^ address, 
	int port, 
	Block data, 
	Object^ context
)
Parameters
address (IPAddress)
The address of the host that sent the packet.
port (Int32)
The port from which the packet was sent.
data (Block)
The contiguous block of data that represents the contents of the received packet.
context (Object)
The context object provided at the time the receive socket was created.

Assembly: QuickSilver_1 (Module: QuickSilver_1) Version: 1.0.0.0