Sends a single object to the provided endPoint. NOTE: Any possible reply will be ignored unless listening for incoming UDP packets.
Namespace: NetworkCommsDotNet.Connections.UDPAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- sendingPacketType
- Type: System String
The sending packet type
- objectToSend
- Type: sendObjectType
The object to send
- ipEndPoint
- Type: System.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