Set the net data callback. Callback will be called when the socket read some data from peer.
The socket handle.
Callback function.
Optional
Optional developer supplied value. The same value will be passed to the tag argument of callback function.
Generated using TypeDoc
Set the net data callback. Callback will be called when the socket read some data from peer.