aboutsummaryrefslogtreecommitdiff
path: root/src/Client/SocketClient.java
blob: 9ce80a33f5113d802040cbbaa5d57ad936afebd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package Client;

import io.socket.client.IO;
import io.socket.client.Socket;

import java.net.URISyntaxException;

public class SocketClient {
    public static Socket socket;

    public SocketClient(String url) {
        try {
            socket = IO.socket(url);
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }

    }
}