receiveMessage

Receives a message from the provided socket by decoding the streamed bytes into bformat and finally placing the resulting payload in the provided array

public
bool
receiveMessage
(
Socket originator
,
ref byte[] receiveMessage
)

Parameters

originator Socket

the socket to receive from

receiveMessage byte[]

the nbuffer to receive into

Return Value

Type: bool

true if the receive succeeded, false otheriwse

Meta