Pike v8.0 release 1738

Method SSL.Packet()->recv()


Method recv

string(8bit)|.Packet recv(string(8bit) data)

Description

Receive data read from the network.

Parameter data

Raw data from the network.

Returns

Returns a string of leftover data if packet is complete, otherwise 0.

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