message


Description:

public signal void message (int type, Bytes message)

Emitted when we receive a message from the peer.

As a convenience, the message data will always be null-terminated, but the NUL byte will not be included in the length count.

Parameters:

type

the type of message contents

message

the message data