Connection.receive

Proxies calls to socket.receive.

This replaces alias socket this, which is deprecated for classes in some compiler versions.

class Connection
receive
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

Buffer to receive data into.

Return Value

Type: auto

The amount of bytes received.