20220817通过手机的TCP客户端连接安信可透传云的TCP服务器

20220817通过手机的TCP客户端连接安信可透传云的TCP服务器


安信可科技官网
https://www.ai-thinker.com/home

http://tt.ai-thinker.com:8000/ttcloud
安信可透传云 V1.0

 

安信可透传云 V1.0
使用TCP客户端连接下方TCP服务器,所有客户端及该页面发往TCP服务器的数据将被转发至其余的客户端。更多内容请查看 官网 | 开发WiKi

免费开放500个TCP服务器,如满额请稍后刷新重试。


一个IP限制同时使用多个页面。TCP服务器3分钟内没有客户端接入将关闭。

TCP服务器同时最大可允许10个客户端链接。

使用指引请前往 透传云使用说明 | 如有疑问,咨询support@aithinker.com

TCP服务器及端口: 122.114.122.174 : 42251
例: 1234
客户端IP及端口    动作
暂无数据

电脑TCP服务器端给手机TCP客户端发送数据:2022/8/17 22:50

 

手机TCP客户端给电脑TCP服务器端发送数据:
You won't find a lot of solitude on the Hickman Bridge Trail, a 1.7-mile route in Capitol Reef National Park that leads to this magnificent natural arch. The trail is used by hikers, runners, and nature lovers drawn by incredible rock formations,
 

 

 

 

 

 

安信可透传云 V1.0
使用TCP客户端连接下方TCP服务器,所有客户端及该页面发往TCP服务器的数据将被转发至其余的客户端。更多内容请查看 官网 | 开发WiKi

接收自: browser | 字节数: 15 | 时间: 2022-08-17 22:46:08
HEX   : 323032322f382f31372032323a3530
ASCII : 2022/8/17 22:50

接收自: 27.38.161.188:42000 | 字节数: 247 | 时间: 2022-08-17 22:47:04
HEX   : 596f7520776f6e27742066696e642061206c6f74206f6620736f6c6974756465206f6e20746865204869636b6d616e2042726964676520547261696c2c206120312e372d6d696c6520726f75746520696e2043617069746f6c2052656566204e6174696f6e616c205061726b2074686174206c6561647320746f2074686973206d61676e69666963656e74206e61747572616c20617263682e2054686520747261696c20697320757365642062792068696b6572732c2072756e6e6572732c20616e64206e6174757265206c6f7665727320647261776e20627920696e6372656469626c6520726f636b20666f726d6174696f6e732c0a
ASCII : You won't find a lot of solitude on the Hickman Bridge Trail, a 1.7-mile route in Capitol Reef National Park that leads to this magnificent natural arch. The trail is used by hikers, runners, and nature lovers drawn by incredible rock formations,


接收自: 27.38.161.188:42000 | 字节数: 11 | 时间: 2022-08-17 22:57:59
HEX   : 517569745365727665720a
ASCII : QuitServer

免费开放500个TCP服务器,如满额请稍后刷新重试。


一个IP限制同时使用多个页面。TCP服务器3分钟内没有客户端接入将关闭。

TCP服务器同时最大可允许10个客户端链接。

使用指引请前往 透传云使用说明 | 如有疑问,咨询support@aithinker.com

TCP服务器及端口: 122.114.122.174 : 42251
2022/8/17 22:50
客户端IP及端口    动作
27.38.161.188:42000    踢出
 

 

 

 

 

 

电脑TCP服务器端给手机TCP客户端发送数据:2022/8/17 22:50 

手机TCP客户端给电脑TCP服务器端发送数据:
You won't find a lot of solitude on the Hickman Bridge Trail, a 1.7-mile route in Capitol Reef National Park that leads to this magnificent natural arch. The trail is used by hikers, runners, and nature lovers drawn by incredible rock formations, 

 

 

 

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是用Arduino写一个ESP32作为TCP客户端连接TCP服务器的示例代码: ```C++ #include <WiFi.h> #include <WiFiClient.h> // 定义WiFi网络的名称和密码 const char* ssid = "your_SSID"; const char* password = "your_PASSWORD"; // 定义TCP服务器的IP地址和端口号 const char* serverIP = "192.168.1.100"; const int serverPort = 8080; void setup() { Serial.begin(115200); // 连接到WiFi网络 WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.println("Connecting to WiFi..."); } Serial.println("Connected to WiFi."); // 创建TCP客户端 WiFiClient client; // 连接TCP服务器 if (client.connect(serverIP, serverPort)) { Serial.println("Connected to TCP server."); // 向TCP服务器发送数据 client.println("Hello, TCP server!"); // 等待TCP服务器的响应 while (client.available()) { String response = client.readStringUntil('\n'); Serial.println("Received response from TCP server: " + response); } // 关闭TCP连接 client.stop(); } else { Serial.println("Failed to connect to TCP server."); } } void loop() { // 无需执行任何操作 } ``` 在代码中,首先定义了WiFi网络的名称和密码以及TCP服务器的IP地址和端口号。然后使用`WiFi`库连接到WiFi网络,并创建一个`WiFiClient`对象作为TCP客户端。接下来,调用`connect()`方法连接TCP服务器,并向服务器发送数据。最后,使用`available()`方法等待TCP服务器的响应,并在收到响应后关闭TCP连接。 请注意,此代码仅用于示例目的。在实际应用中,您可能需要添加错误处理和重试逻辑,以确保程序在网络故障或服务器故障时能够正确处理。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值