Skip to content

0ffce3fb 1b24 e1a8 6a9d 267e5d8acfe8

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

Publisher.SendPack Method (BasePack, IPEndPoint)

Sends the packet through the same stream that is receiving packets.

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

Syntax

C#

public abstract void SendPack(
	BasePack pack,
	IPEndPoint ip = null
)

VB

Public MustOverride Sub SendPack ( 
	pack As BasePack,
	Optional ip As IPEndPoint = Nothing
)

C++

public:
virtual void SendPack(
	BasePack^ pack, 
	IPEndPoint^ ip = nullptr
) abstract

F#

abstract SendPack : 
        pack : BasePack * 
        ?ip : IPEndPoint 
(* Defaults:
        let _ip = defaultArg ip null
*)
-> unit 

Parameters

 

pack
Type: NETLIB.BasePack
Pack to be sent by the stream.
ip (Optional)
Type: System.Net.IPEndPoint
Optional parameter used by protocols not based connection, such as UDP.

See Also

Reference

Publisher Class
SendPack Overload
NETLIB Namespace
NETLIB.BasePack

Clone this wiki locally