EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSecureWSocketServer question

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 04/01/2008 02:58:49
by Andrea  (Basic support level)
Joined: 03/31/2008
Posts: 1

i'm using SBB demo project named ICSDemo.
All seems to works but the OnClientConnect event on the TElSecureWSocketServer class.
The reason seems to be in SBICSServerSocket.pas

procedure TElSecureWSocketServer.ClientConnectHandler(Sender: TObject; Client:
  Error: Word);
  // intentionally left blank cause OnConnect only happens when SSL is established
  //if Assigned(FOldClientConnectHandler) then
  //  FOldClientConnectHandler(Sender, Client, Error);

If i uncomment the body of method, OnClientConnect event fires correctly when a SLL connection is established.

Above steps to reproduce my test :
- i start ICSDemo.exe on localhost:443
- then i make a request with IE on https://localhost:443.
- Nothing happens while OnClientCreate and OnDataAvailable are triggered correctly

Is possible to handle OnClientConnect event ? (Maybe necessary for complex applications)
Posted: 04/01/2008 03:36:57
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk.

Sincerely yours
Eugene Mayevski



Topic viewed 1374 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!