TheoryOfNekomata
1421ff9efe
Use own version of cmdline option function
Copy implementation from lws.
2 anos atrás
TheoryOfNekomata
8c42f84d46
Fix termination handling
Ensure the same reference of the server is terminated in the server,
while the client should check the context when connecting/disconnecting.
2 anos atrás
TheoryOfNekomata
4e4924ec0b
Implement connectivity
Attempt to connect client to server.
2 anos atrás
TheoryOfNekomata
e9ddbf189d
Refactor server code
Split callback logic into several functions.
2 anos atrás
TheoryOfNekomata
e789b7032f
Update example
Use ring example.
2 anos atrás
TheoryOfNekomata
9d2fe5b007
Implement a more involved example
Use minimal server echo example instead.
2 anos atrás
TheoryOfNekomata
34e7ad43ea
Attempt connection to server
The client app is able to connect to the server, however no further
communication is happening. Must've been the callbacks?
Also the client app enters into an infinite loop when lws_service() is
called inside the game loop.
2 anos atrás
TheoryOfNekomata
c3248953e2
Integrate libwebsockets connection
Add libwebsockets client to game executable.
2 anos atrás
TheoryOfNekomata
6bba345acf
Add minimal protocol
Protocol retrieved from lws git repo for samples.
2 anos atrás
TheoryOfNekomata
abf5ede03e
Add Websockets server
Websockets server is for game networking.
2 anos atrás