Communication Server is a websocket based broadcast server. It's for realtime communication apps.(e.g. message, void chat) You can send/receive charactors and binary.
Build by Rust and Actix.
- Run server.
cargo run- Connect from clients.
const ws = new WebSocket("ws://localhost:9999");
ws.onopen = (e) => {
// your code here...
}
ws.onmessage = (e) => {
// your code here...
}- Send your message to server.
function sendMessage() {
// send to server your message.
ws.send(value);
}