当前位置:网站首页>Iotp2pgate two IOT devices point-to-point communication fast implementation scheme
Iotp2pgate two IOT devices point-to-point communication fast implementation scheme
2022-07-24 05:55:00 【Meow, meow, hammer, you cute】
IoTP2PGate
Project address
describe
In order to solve the problem that the communication module of the Internet of things cannot quickly realize point-to-point communication with mobile phones or other Internet of things devices ,IoTP2PGate emerge as the times require .IoTP2PGate It is mainly used for simple development verification , After all, it was written for the convenience of graduation design .
characteristic
- It supports and only supports point-to-point communication between two IOT devices .
- The device will (ip,port) As the address of another device , Hide the server forwarding process behind .
Use
- Prepare to have a public network IP,Linux One ECS of the system .( Please ensure that the firewall on the server and the firewall provided by the cloud service provider platform have opened the corresponding ports )
- Enter the following command to download and compile IoTP2PGate :
git clone https://github.com/MisakaMikoto128/IoTP2PGate.git
cd IoTP2PGate
make
perhaps
git clone https://gitee.com/liuyuanlin6445/IoTP2PGate.git
cd IoTP2PGate
make
3. Use :
./p2pgate <port> [debug]
- debug Is an optional parameter , Used to view information in the communication process .
- port Is the port number , Mandatory . for example 666
- eg:
./p2pgate 666
- At this time, two network connected devices pass socket.connect( Server public network IP,PORT) To establish its TCP Connect , The two devices can communicate with each other .
matters needing attention
- Two socket After the connection between the client and the server is established, the channel for mutual communication is officially established .
- after IoTP2PGate Will reject other sockt Connect until the original two socket One or all of the clients disconnect from the server .
边栏推荐
- On the concepts of "input channel" and "output channel" in convolutional neural networks
- 《统计学习方法(第2版)》李航 第16章 主成分分析 PCA 思维导图笔记 及 课后习题答案(步骤详细)PCA 矩阵奇异值 第十六章
- "Statistical learning methods (2nd Edition)" Li Hang Chapter 14 clustering method mind map notes and after-school exercise answers (detailed steps) K-means hierarchical clustering Chapter 14
- 西瓜书/南瓜书--第1,2章总结
- YOLOv5学习总结(持续更新)
- Likeshop | single merchant mall system code open source no encryption -php
- "Statistical learning methods (2nd Edition)" Li Hang Chapter 16 principal component analysis PCA mind map notes and after-school exercise answers (detailed steps) PCA matrix singular value Chapter 16
- Detailed discussion on data synchronization tools ETL, ELT, reverse ETL
- STM32标准外设库(标准库)官网下载方法,附带2021最新标准固件库下载链接
- 《统计学习方法(第2版)》李航 第十三章 无监督学习概论 思维导图笔记
猜你喜欢

Zotero Quick Start Guide

Typora 安装包2021年11月最后一次免费版本的安装包下载V13.6.1

关于卷积神经网络中的“输入通道”和“输出通道”的概念

《统计学习方法(第2版)》李航 第15章 奇异值分解 SVD 思维导图笔记 及 课后习题答案(步骤详细)SVD 矩阵奇异值 十五章

Chapter III summary of linear model

What do programmers often mean by API? What are the API types?

Introduction to PC mall module of e-commerce system

Multi merchant mall system function disassembly lecture 09 - platform end commodity brands

用指针访问二维数组

主成分分析计算步骤
随机推荐
Test whether the label and data set correspond after data enhancement
删除分类网络预训练权重的的head部分的权重以及修改权重名称
synergy局域网实现多主机共享键鼠(amd、arm)
Machine learning (zhouzhihua) Chapter 5 notes on neural network learning
Multi merchant mall system function disassembly Lecture 11 - platform side commodity column
"Statistical learning methods (2nd Edition)" Li Hang Chapter 14 clustering method mind map notes and after-school exercise answers (detailed steps) K-means hierarchical clustering Chapter 14
vscode 多行注释总是会自动展开的问题
《统计学习方法(第2版)》李航 第14章 聚类方法 思维导图笔记 及 课后习题答案(步骤详细) k-均值 层次聚类 第十四章
On the concepts of "input channel" and "output channel" in convolutional neural networks
统计信号处理小作业——瑞利分布噪声中确定性直流信号的检测
The method of using bat command to quickly create system restore point
字符串方法以及实例
[MYCAT] MYCAT configuration file
STM32 DSP库MDK VC5\VC6编译错误: 256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256,
Multi merchant mall system function disassembly lecture 06 - platform side merchant settlement agreement
[activiti] gateway
Multi merchant mall system function disassembly lecture 05 - main business categories of platform merchants
Connect CRM system and effect advertising, help enterprises with precision marketing, and help enterprises with precision marketing
《统计学习方法(第2版)》李航 第16章 主成分分析 PCA 思维导图笔记 及 课后习题答案(步骤详细)PCA 矩阵奇异值 第十六章
My little idea -- using MATLAB to realize reading similar to ring buffer