public void sentEmit(String message) throws Exception { socket = new SocketIO(); socket.connect("http://192.168.1.4:3000", this); socket.emit("my other event", message); }