# socket_broadcast **Repository Path**: zzchinahebei/socket_broadcast ## Basic Information - **Project Name**: socket_broadcast - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-18 - **Last Updated**: 2026-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # socket_broadcast #### 介绍 一个port例程 自制的两port 通信。(对某端电脑 一个port 主动调网络函数 接收return ; 一个port 被动侦听事件 然后做回应 ) 中间连接服务站,做交叉式交换 (可以对标usb连接器)(软件的tcpip的port 对标 硬件的 usb endpoint) ![输入图片说明](5D40826740A9EF48C145B2C902E5FC16.jpg) 可以对比 usb互联器 https://gitee.com/zzchinahebei/usb_bridge ========================================================== usb 的pipe ---VS--- 网络的 socket usb的pipe submit ---VS--- 网络的socket的 dis dos的 send recieve usb的device PID ---VS--- 网络的 MAC地址 域名??? usb的 地址address(最大127) ---VS--- 网络的dhcp IP地址(ipv4最大约 42亿, 256*256*256*256) ??? usb的EP 端点 (subAddress)(最大16) ---VS--- 网络的端口port (subIP)(最大65536, 256*256) 应用程序编程对比 : usb 应用程序 用 PID findDevice() ----------VS--------- 网络应用程序 用 IP port去connect server或client