Pike v8.1 release 6

Method SSL.Packet()->recv()


Method recv

int(-1..1) recv(Stdio.Buffer data)

Description

Receive data read from the network.

Parameter data

Raw data from the network.

Returns

Returns a 1 data if packet is complete, otherwise 0.

If there's an error, an alert object is returned.