LumiSoft Net Help
SendPacket Method (packet, offset, count, remoteEP)
NamespacesLumiSoft.Net.UDPUDP_ServerSendPacket(array<Byte>[]()[][], Int32, Int32, IPEndPoint)
Sends specified UDP packet to the specified remote end point.
Declaration Syntax
C#Visual BasicVisual C++F#
public void SendPacket(
	byte[] packet,
	int offset,
	int count,
	IPEndPoint remoteEP
)
Public Sub SendPacket ( 
	packet As Byte(),
	offset As Integer,
	count As Integer,
	remoteEP As IPEndPoint
)
public:
void SendPacket(
	array<unsigned char>^ packet, 
	int offset, 
	int count, 
	IPEndPoint^ remoteEP
)
member SendPacket : 
        packet : byte[] * 
        offset : int * 
        count : int * 
        remoteEP : IPEndPoint -> unit 
Parameters
packet (array<Byte>[]()[][])
UDP packet to send.
offset (Int32)
Offset in the buffer.
count (Int32)
Number of bytes to send.
remoteEP (IPEndPoint)
Remote end point.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised whan UDP server is not running and this method is accessed.
ArgumentNullExceptionIs raised when any of the arumnets is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119