type MySock=class(TclientSock)
protected
procedure Event(Socket: TCustomWinSocket
SocketEvent: TSocketEvent)
override;
...
procedute MySock.Event(Socket: TCustomWinSocket
SocketEvent: TSocketEvent);
begin
if SocketEvent = seRead then
begin
// 执行你的 OnRead 代码
end;
inherited;
end;