private void connect(String url, int port, DCStation station) {
		try {
			Socket s = new Socket(url, port);
			NetworkConnection nc = new NetworkConnection(s, station);
			station.setConnection(nc);
		} catch (UnknownHostException e) {
			System.out.println("Connection to host failed: The host with the address " + url + ":" + port + " was not found.");
		} catch (IOException e) {
			System.out.println("Connection to host failed");
			e.printStackTrace();
		}
	}