Table of Contents

Interface INetickSocket

Namespace
Netick
Assembly
Netick.dll
public interface INetickSocket

Methods

Connect(ref IEndPoint)

bool Connect(ref IEndPoint address)

Parameters

address IEndPoint

Returns

bool

CreateFromIpPort(string, int)

IEndPoint CreateFromIpPort(string ip, int port)

Parameters

ip string
port int

Returns

IEndPoint

Deinitialize()

void Deinitialize()

Initialize()

bool Initialize()

Returns

bool

Poll()

int Poll()

Returns

int

Receive(out IEndPoint, byte*, int)

int Receive(out IEndPoint address, byte* buffer, int bufferSize)

Parameters

address IEndPoint
buffer byte*
bufferSize int

Returns

int

Send(IEndPoint, byte*, int)

void Send(IEndPoint address, byte* data, int dataLength)

Parameters

address IEndPoint
data byte*
dataLength int

Shutdown()

void Shutdown()

StartClient(long, long)

void StartClient(long sendBufferSize, long receiveBufferSize)

Parameters

sendBufferSize long
receiveBufferSize long

StartServer(int, long, long)

void StartServer(int port, long sendBufferSize, long receiveBufferSize)

Parameters

port int
sendBufferSize long
receiveBufferSize long