Answer the question
In order to leave comments, you need to log in
Fast multiplatform library for sockets?
The project requires a library that provides a very lightweight implementation of UDP sockets in three languages: JavaScript, Java (Android), Swift (iOS).
It is necessary to send the state of the client to the server and vice versa with great frequency (you need good serialization of messages and compression).
One server - one client (single socket).
I would like that on the server (JS):
server = library.createServer(port, event => { ...MESSAGE HANDLER... } )
server.send('sdfsdfgdsg');
client = library.connect(hostname, event => { ...MESSAGE HANDLER... } )
client.send('sdgfsdfgdsfg');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question