Good catch.

Now it crashes in WSocket.pas at the "end;" of procedure 
TCustomWSocket.TriggerSessionAvailable(Error : Word);

KL Chin wrote:
> Hi,
> 
> You code not complete. You did not create the socket.
> 
>    socket := TWScoket.Create(   );
> 
> 
> constructor TClient.Create;
> begin
>   inherited;
>   (* This part crashes *)
>   sock
>   socket.OnDataAvailable := SocketDataAvailable;
>   socket.OnSessionClosed := SocketSessionClosed;
> end;
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to