How can i use the events (Connect, disconnect, read data, error and etc...) using the socket object, or the tcpclient.

Anybody have any tips to help me?

Thank you,
Guilherme Costa