Browse Source

jsais plus

master
DemiSel 3 years ago
parent
commit
f1b4ed8cf3
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      arduino/cybergaziniere/cybergaziniere.ino
  2. 2
    2
      src/main/java/Application.java

+ 2
- 2
arduino/cybergaziniere/cybergaziniere.ino View File

12
 //char* ssid = "Livebox-8DA0";           
12
 //char* ssid = "Livebox-8DA0";           
13
 //char* password = "C3F3EE221002051A31382FFAF7"; 
13
 //char* password = "C3F3EE221002051A31382FFAF7"; 
14
 
14
 
15
-char* serverHost = "192.168.0.24";
16
-int serverPort = 6868;
15
+char* serverHost = "demisel.space";
16
+int serverPort = 10220;
17
 WiFiClient tcpClient;
17
 WiFiClient tcpClient;
18
 bool tcpClientConnected;
18
 bool tcpClientConnected;
19
 
19
 

+ 2
- 2
src/main/java/Application.java View File

2
 
2
 
3
     public static void main(String [] args)
3
     public static void main(String [] args)
4
     {
4
     {
5
-        String vHostName = "localhost";
5
+        String vHostName = "demisel.space";
6
         int vWebPagePort = 8080;
6
         int vWebPagePort = 8080;
7
-        int vWebSocketPort = 42069;
7
+        int vWebSocketPort = 10269;
8
         int vTcpSocketPort = 6868;
8
         int vTcpSocketPort = 6868;
9
         CuisineHTTPServer vServer = new CuisineHTTPServer();
9
         CuisineHTTPServer vServer = new CuisineHTTPServer();
10
         vServer.startServer(vHostName,vWebPagePort,vWebSocketPort,vTcpSocketPort);
10
         vServer.startServer(vHostName,vWebPagePort,vWebSocketPort,vTcpSocketPort);

Loading…
Cancel
Save