Added examples for a simple WebSocket client and Server.
Removed automatic ping pong response, and disconnection from fr::WebSocket, as it should be handled by the library user, really. Updated ReadMe.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
add_subdirectory(simple_server_and_client)
|
||||
add_subdirectory(simple_http_server_and_client)
|
||||
add_subdirectory(simple_websocket_server_and_client)
|
||||
|
||||
@@ -47,6 +47,6 @@ int main()
|
||||
}
|
||||
|
||||
//Close connection
|
||||
client.close_socket();
|
||||
client.disconnect();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user