Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking > API/Plugins/WebSocketNetworking/IWebSocketServer
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/IWebSocketServer.h |
| Include | #include "IWebSocketServer.h" |
bool Init
&40;
uint32 Port,
FWebSocketClientConnectedCallBack ClientConnectedCallback,
FString BindAddress
&41;
Remarks
Initialize the server and start listening for messages. whether the initialization was successful.
Parameters
| Name | Description |
|---|---|
| Port | the port to handle websockets messages on. |
| ClientConnectedCallback | the handler called when a client has connected. |
| BindAddress | Which address the server should bind to. If left empty, the server will bind to all interfaces. |