mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
6 lines
173 B
JavaScript
6 lines
173 B
JavaScript
var socket = io.connect('http://localhost:8080');
|
|
socket.on('hello', function (data) {
|
|
console.log(data);
|
|
socket.emit('registerSlaveMappper', { instanceID: 'data' });
|
|
});
|