kalm / kalm.js Goto Github PK
View Code? Open in Web Editor NEWThe socket manager
Home Page: http://kalm.js.org
License: Other
The socket manager
Home Page: http://kalm.js.org
License: Other
The kalm package has rudimentary unit tests for the constructors, but none for the internal components: here
Users should be able to listen for multiple ports and multiple protocols when creating servers.
A user could connect via Websocket to a server also listening for TCP events. Broadcasting emits to all clients, regardless of protocol.
Hi frederic !
Should be great if you explain quickly why kalm is fast ? (in the README)
Thank you
Is there an example of using IPC? Also, does it work across platforms like windows?
const server = Kalm.listen();
// server.id = <uid>
Atm im trying to write a client for a game (TCP) with a special structure.
[Header]
- key<int8>
- reserved<int8>
- packetSize<int16le>
- encrypted<int8>
[Body]
- body<buffer[packetSize - 5]>
For me it looks like Kalm uses an own hardcoded framing.
Would it be possible to make that configurable?
Or is Kalm supposed to just connect with other Kalm endpoints?
Once the standard is finalized and node implementation is available, add QUIC/WebTransport support
Sometimes,
client.write('test.data',{result:{type:'string', value:'<some large base64 string>'}});
Doing the above results in the loss of hierarchy of the object, and instead, the data is received as an array of bytes.
Sometimes the received object would is:
{result:{type:'string', value:'<some large base64 string>'}}
and sometimes it is:
[12,16,114,<numbers like that >]
What must be wrong? Is it returning a buffer-like object when the response is too long?
support react ?
It's 2020 ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.