• Yes, requires OpenSSL
  • No, only Blocking mode
  • Yes, Requires Win8.+

WebSocket Server HTTP API 2.0 IOCP

From sgcWebSockets 4.1.3 a new WebSocket server is available, it's based on Microsoft HTTP Server API and it's available for Windows 8 and later. It's IOCP (Input Output Completion Ports) and asynchronous (non-blocking) based and can efficiently serve multiple clients (without using one thread per connection like Indy).

Example: if websocket connections are stablished in ws:// url, just set server with these parameters (server requires admin rights to access to HTTP API).


oServer := TsgcWebSocketServer_HTTPAPI.Create(nil);


oServer.Active := True;