Skip to content

371135e2 ec4b 5b60 2a1d bb4ca4bf5f9c

Arthur Frederico Neves edited this page Jul 19, 2016 · 3 revisions

Consumer(TPack).SendPack Method (Byte[], IPEndPoint)

Sends the packet through the publisher

Namespace: NETLIB
Assembly: NETLIB (in NETLIB.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public virtual void SendPack(
	byte[] pack,
	IPEndPoint ip = null
)

VB

Public Overridable Sub SendPack ( 
	pack As Byte(),
	Optional ip As IPEndPoint = Nothing
)

C++

public:
virtual void SendPack(
	array<unsigned char>^ pack, 
	IPEndPoint^ ip = nullptr
)

F#

abstract SendPack : 
        pack : byte[] * 
        ?ip : IPEndPoint 
(* Defaults:
        let _ip = defaultArg ip null
*)
-> unit 
override SendPack : 
        pack : byte[] * 
        ?ip : IPEndPoint 
(* Defaults:
        let _ip = defaultArg ip null
*)
-> unit 

Parameters

 

pack
Type: System.Byte[]
Buffer to be sent as a pack by the stream.
ip (Optional)
Type: System.Net.IPEndPoint
Optional parameter used by protocols not based connection, such as UDP.

See Also

Reference

Consumer(TPack) Class
SendPack Overload
NETLIB Namespace

Clone this wiki locally