W
wyf6551863
Unregistered / Unconfirmed
GUEST, unregistred user!
delphi中scktcomp.pas中源程序中有下列定义
TSocketNotifyEvent = procedure (Sender: TObject; Socket: TCustomWinSocket) of object;
TSocketEventEvent = procedure (Sender: TObject; Socket: TCustomWinSocket;
SocketEvent: TSocketEvent) of object;
我猜想它们定义了一个消息通知程序和事件发生程序,用于驱动SOCKET事件,不知道对不对,还有这样的定义在书上没见过,过程没有过程名,请解释。
TSocketNotifyEvent = procedure (Sender: TObject; Socket: TCustomWinSocket) of object;
TSocketEventEvent = procedure (Sender: TObject; Socket: TCustomWinSocket;
SocketEvent: TSocketEvent) of object;
我猜想它们定义了一个消息通知程序和事件发生程序,用于驱动SOCKET事件,不知道对不对,还有这样的定义在书上没见过,过程没有过程名,请解释。