udp 广播实现

上传者: yesican123 | 上传时间: 2023-09-21 09:51:38 | 文件大小: 22.34MB | 文件类型: ZIP
udp 实现广播,如果存在多张网卡,禁用其他的网卡自保留一个,或者制定绑定本地ip 地址 _server_add.sin_addr.s_addr = htons(INADDR_ANY);改成 _server_add.sin_addr.s_addr = htons(Ip地址);

文件下载

资源详情

[{"title":"( 87 个子文件 22.34MB ) udp 广播实现","children":[{"title":"UDP-Broadcast","children":[{"title":"Project1.vcxproj.filters <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Project1.log <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"Project1.Build.CppClean.log <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Project1.tlog","children":null,"spread":false}],"spread":true},{"title":"Project1.sln <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"Project1.sdf <span style='color:#111;'> 31.94MB </span>","children":null,"spread":false},{"title":"Project1.vcxproj <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"vc120.pdb <span style='color:#111;'> 388.00KB </span>","children":null,"spread":false},{"title":"Դ.obj <span style='color:#111;'> 761.61KB </span>","children":null,"spread":false},{"title":"Project1.log <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Project1.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 57.13KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Project1.lastbuildstate <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"ServiceDiscover.obj <span style='color:#111;'> 771.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":".git","children":[{"title":"logs","children":[{"title":"HEAD <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"heads","children":[{"title":"master <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"packed-refs <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":".COMMIT_EDITMSG.swp <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"info","children":[{"title":"exclude <span style='color:#111;'> 240B </span>","children":null,"spread":false}],"spread":true},{"title":"index <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"COMMIT_EDITMSG <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"objects","children":[{"title":"a6","children":[{"title":"609b99a4d370d9e658406891e30f1d07ff2a3d <span style='color:#111;'> 753B </span>","children":null,"spread":false}],"spread":false},{"title":"pack","children":null,"spread":false},{"title":"0a","children":[{"title":"a9d330b94e671b0003d6d5fb4faddd28f15087 <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":false},{"title":"8f","children":[{"title":"4a067039f6b4e7ea4c31b686f2e599869e2cd7 <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":false},{"title":"df","children":[{"title":"3b3f4fd12737d6fb7805e3c450e753793aea38 <span style='color:#111;'> 51.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"info","children":null,"spread":false},{"title":"b2","children":[{"title":"43df489f62342f5229aee79ab3d71d7e1b124f <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"db237f40f2aeabc463f4ee2cf6044cbd7f4540 <span style='color:#111;'> 477B </span>","children":null,"spread":false}],"spread":false},{"title":"a2","children":[{"title":"1dddfd5232549e41cf4ac04d7c10e04bfd4a05 <span style='color:#111;'> 113.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"a8","children":[{"title":"b00f4459d7801ef2e09a08e715fc194f594986 <span style='color:#111;'> 464B </span>","children":null,"spread":false}],"spread":false},{"title":"61","children":[{"title":"f380c8cf8802ebe714c5d9c703f175c815e6b4 <span style='color:#111;'> 209B </span>","children":null,"spread":false}],"spread":false},{"title":"2f","children":[{"title":"4cdc4d6f7fac991001c563925ec59aa683affe <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":false},{"title":"9b","children":[{"title":"eb2c75babfdc2596f4fc3035c79f35fe40fbfd <span style='color:#111;'> 370B </span>","children":null,"spread":false}],"spread":false},{"title":"be","children":[{"title":"e93d50e4227bf6099b9d2c81b57c3dad03464a <span style='color:#111;'> 531B </span>","children":null,"spread":false}],"spread":false},{"title":"d3","children":[{"title":"b24356c132ef24ba8efc0756c31eebe7c57a9f <span style='color:#111;'> 46.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"36","children":[{"title":"0e1499ed11970285f374d5e80a8b655eeb064c <span style='color:#111;'> 314B </span>","children":null,"spread":false}],"spread":false},{"title":"d5","children":[{"title":"c9cd89d9d4406a6019a2587a04a4e6c2e55037 <span style='color:#111;'> 175B </span>","children":null,"spread":false}],"spread":false},{"title":"75","children":[{"title":"691cc92556387fbd3a3dd6af382c495a5e96e5 <span style='color:#111;'> 539B </span>","children":null,"spread":false}],"spread":false},{"title":"8b","children":[{"title":"76624708699c2124e38cdde7117445d719576c <span style='color:#111;'> 350B </span>","children":null,"spread":false}],"spread":false},{"title":"32","children":[{"title":"9da7b0fc9acff99148ed021ff17a6f2bfdc133 <span style='color:#111;'> 259B </span>","children":null,"spread":false}],"spread":false},{"title":"c1","children":[{"title":"91ced2c054e4bf921ae185360f349699e0617a <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false}],"spread":false},{"title":"4a","children":[{"title":"7cb666234cc7141902c88b0619902bca3536c7 <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":false},{"title":"6b","children":[{"title":"b7b207e53b822e955c2708801c2b10a67da33e <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"8c","children":[{"title":"d0d0b2b43110a906cdd14a389d8b99073fc2f8 <span style='color:#111;'> 10.72MB </span>","children":null,"spread":false}],"spread":false},{"title":"e5","children":[{"title":"81d9d29dc2c9e753542bb217b4cec8527322f1 <span style='color:#111;'> 231.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"c0","children":[{"title":"d4b214e2c4357dca9e2abd8d8d910404cf03c6 <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":false},{"title":"19","children":[{"title":"8549a1097f81831ffd91bd6037d0caa3c0fb34 <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false},{"title":"d1","children":[{"title":"f5b71f8e2890e2b8538e773fe882b7fda6c145 <span style='color:#111;'> 124.61KB </span>","children":null,"spread":false},{"title":"707ece44b8f5849b5394db088a930682166a94 <span style='color:#111;'> 171.65KB </span>","children":null,"spread":false}],"spread":false},{"title":"92","children":[{"title":"2b0db8bdcba6468b7c6a92408eabb569235d78 <span style='color:#111;'> 235.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"ed","children":[{"title":"96e399f92607c20f3faf962b07128c48246bb6 <span style='color:#111;'> 251B </span>","children":null,"spread":false}],"spread":false},{"title":"83","children":[{"title":"e6f19a6855ad1f52d48539e3c91590642c2a29 <span style='color:#111;'> 1001B </span>","children":null,"spread":false}],"spread":false},{"title":"e3","children":[{"title":"a1d85d3c12390206b6589e0598275d04940844 <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":false},{"title":"56","children":[{"title":"224c82ae8a276a5c72120aecf61ff0a12ced5d <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"06","children":[{"title":"062298e1bc331be8a335430a5bfafdeaaec6e0 <span style='color:#111;'> 185B </span>","children":null,"spread":false}],"spread":false},{"title":"d0","children":[{"title":"667ce60ac9b03d29f198155e6c9dab6b52f4ef <span style='color:#111;'> 497B </span>","children":null,"spread":false}],"spread":false},{"title":"af","children":[{"title":"28da9b3dd743dd761d5b9d6d89da145d5da63c <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"cb","children":[{"title":"e9ae0c5f927682f2bb4e0d9e701b56b30a7a94 <span style='color:#111;'> 181B </span>","children":null,"spread":false}],"spread":false},{"title":"57","children":[{"title":"b9c9c52f3d878c9736a2d0fbcdb0f40fb2ab32 <span style='color:#111;'> 387B </span>","children":null,"spread":false}],"spread":false},{"title":"65","children":[{"title":"22ae6b1a8d967850846c8d9173cb49775bf3dc <span style='color:#111;'> 229B </span>","children":null,"spread":false}],"spread":false},{"title":"37","children":[{"title":"f0b07eeae82e2bb8cb4aa48f3140a01f35a427 <span style='color:#111;'> 321B </span>","children":null,"spread":false}],"spread":false},{"title":"d6","children":[{"title":"f2b1d0ef8b757cb844a29271aab1cb9ebd2808 <span style='color:#111;'> 129B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"HEAD <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"config <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"FETCH_HEAD <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"ms-persist.xml <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"ORIG_HEAD <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"heads","children":[{"title":"master <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":false},{"title":"tags","children":null,"spread":false},{"title":"remotes","children":[{"title":"origin","children":[{"title":"HEAD <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"hooks","children":[{"title":"pre-applypatch.sample <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"pre-push.sample <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"commit-msg.sample <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"pre-commit.sample <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"applypatch-msg.sample <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"prepare-commit-msg.sample <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"update.sample <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"post-update.sample <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"pre-rebase.sample <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"description <span style='color:#111;'> 73B </span>","children":null,"spread":false}],"spread":false},{"title":"Project1.v12.suo <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"Դ.cpp <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"ServiceDiscover.cpp <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"ServiceDiscover.h <span style='color:#111;'> 504B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明