EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSecureWSocketServer question

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 (Team)

Moved to HelpDesk.

Sincerely yours
Eugene Mayevski



Topic viewed 1595 times

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


Back to top

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

Got it!