Connection SendPacket packetPayloadObjectType  Method (IPacket, Int64 )NetworkComms.Net Help
Send the provided packet to the remoteEndPoint. Waits for receive confirmation if required.

Namespace: NetworkCommsDotNet.Connections
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public void SendPacket<packetPayloadObjectType>(
	IPacket packet,
	out long packetSequenceNumber
)

Parameters

packet
Type: NetworkCommsDotNet IPacket
The packet to send
packetSequenceNumber
Type: OnlineSystem Int64 
The sequence number of the packet sent
Type Parameters

packetPayloadObjectType
The type of object encapsulated by the provided packet
See Also