WebBrowser Test

TsgcWebSocketServer implements a built-in Web page where you can test WebSocket Server connection with your favourite Web Browser.

 

To access to this Test Page, you need to type this URL:

 

  http://host:port/sgcWebSockets.html

 

Example: if you have configured your WebSocket Server on IP 127.0.0.1 and uses port 80, then you need to type:

 

  http://127.0.0.1:80/sgcWebSockets.html

 

In this page, you can test the following WebSocket methods:

 

  Open

  Close

  Status

  Send

 

To disable WebBrowser HTML Test pages, just set in TsgcWebSocketServer.Options.HTMLFiles = false;