UDPConnection SendObject sendObjectType  Method (String, sendObjectType, IPEndPoint, SendReceiveOptions, ApplicationLayerProtocolStatus)NetworkComms.Net Help
Sends a single object to the provided endPoint. NOTE: Any possible reply will be ignored unless listening for incoming UDP packets.

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

public static void SendObject<sendObjectType>(
	string sendingPacketType,
	sendObjectType objectToSend,
	IPEndPoint ipEndPoint,
	SendReceiveOptions sendReceiveOptions,
	ApplicationLayerProtocolStatus applicationLayerProtocol
)

Parameters

sendingPacketType
Type: OnlineSystem String
The sending packet type
objectToSend
Type: sendObjectType
The object to send
ipEndPoint
Type: OnlineSystem.Net IPEndPoint
The destination IPEndPoint. Supports multicast endpoints.
sendReceiveOptions
Type: NetworkCommsDotNet SendReceiveOptions
The sendReceiveOptions to use for this send
applicationLayerProtocol
Type: NetworkCommsDotNet.Connections ApplicationLayerProtocolStatus
If enabled NetworkComms.Net uses a custom application layer protocol to provide useful features such as inline serialisation, transparent packet transmission, remote peer handshake and information etc. We strongly recommend you use the NetworkComms.Net application layer protocol.
Type Parameters

sendObjectType

[Missing <typeparam name="sendObjectType"/> documentation for "M:NetworkCommsDotNet.Connections.UDP.UDPConnection.SendObject``1(System.String,``0,System.Net.IPEndPoint,NetworkCommsDotNet.SendReceiveOptions,NetworkCommsDotNet.Connections.ApplicationLayerProtocolStatus)"]

See Also