NNGSocket.receive

Receives a data type (castable to byte array) as postallocated buffer

struct NNGSocket
@trusted
T
receive
(
T
)
(
bool nonblock = false
)
if (
isArray!T
)

Parameters

nonblock bool

set the non blocking mode