// // Socket events // void _conn_onSend(object sender, SocketSendEventArgs e) { if (onSocketSend != null) { onSocketSend(sender, e); } }
protected virtual void OnSendData(SocketSendEventArgs e) { if (onSend != null) { onSend(this, e); } }