Server HTTP + WebSocket + Serveur TCP pour transmettre la température du thermometre dans ma cuisine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Application.java 374B

123456789101112
  1. public class Application {
  2. public static void main(String [] args)
  3. {
  4. String vHostName = "localhost";
  5. int vWebPagePort = 8080;
  6. int vWebSocketPort = 42069;
  7. int vTcpSocketPort = 6868;
  8. CuisineHTTPServer vServer = new CuisineHTTPServer();
  9. vServer.startServer(vHostName,vWebPagePort,vWebSocketPort,vTcpSocketPort);
  10. }
  11. }