• PUDN用户
    了解作者
  • C#
    开发工具
  • 815KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 771
    下载次数
  • 2009-11-06 07:46
    上传日期
C#.Net Socket网络聊天室编程实例附教程.实例是一个网络聊天室,分服务端和客户端。实例运行于VS2008,附有讲解教程,详细讲解一些Socket编程的必要知识以及本实例的实现过程,对C#开发的朋友是个福音。
Socket_CHAT.rar
  • C#.Net Socket网络聊天室编程实例附教程
  • EasyChat_Client.zip
    1.1MB
  • EasyChat_Server.zip
    72.7KB
  • C#.Net网络程序开发-Socket篇.pdf
    179.4KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/624fcf9274bc5c010553d19b/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/624fcf9274bc5c010553d19b/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">C#.Net<span class="_ _0"> </span><span class="ff2 sc1 ls1">&#32593;&#32476;&#31243;&#24207;&#24320;&#21457;<span class="_ _1"></span></span>-<span class="_ _2"></span>S<span class="_ _3"></span>o<span class="_ _2"></span>c<span class="_ _4"></span>k<span class="_ _4"></span>et<span class="_ _0"> </span><span class="ff2 sc1">&#31687;</span><span class="ff3 fs1 fc1"> </span></div><div class="t m0 x2 h3 y2 ff3 fs1 fc1 sc0 ls0 ws0">M<span class="_ _4"></span>ic<span class="_ _2"></span>ros<span class="_ _1"></span>oft<span class="_ _4"></span>.<span class="_ _1"></span>N<span class="_ _2"></span>e<span class="_ _3"></span>t <span class="_ _2"></span>Fram<span class="_ _5"></span>e<span class="_ _3"></span>wor<span class="_ _1"></span>k<span class="_ _0"> </span><span class="ff2">&#20026;&#24212;<span class="_ _1"></span>&#29992;&#31243;&#24207;<span class="_ _1"></span>&#35775;&#38382;<span class="_ _6"> </span></span>In<span class="_ _4"></span>t<span class="_ _1"></span>ern<span class="_ _2"></span>et<span class="_ _0"> </span><span class="ff2">&#25552;<span class="_ _1"></span>&#20379;&#20102;&#20998;<span class="_ _1"></span>&#23618;&#30340;<span class="_ _5"></span>&#12289;<span class="_ _7"></span>&#21487;&#25193;<span class="_ _1"></span>&#23637;&#30340;&#20197;<span class="_ _1"></span>&#21450;&#21463;</span></div><div class="t m0 x2 h3 y3 ff2 fs1 fc1 sc0 ls0 ws0">&#31649;&#36758;&#30340;&#32593;<span class="_ _1"></span>&#32476;&#26381;&#21153;<span class="_ _5"></span>&#65292;<span class="_ _4"></span>&#20854;<span class="_ _1"></span>&#21517;&#23383;&#31354;&#38388;<span class="_ _8"> </span><span class="ff3">Sy<span class="_ _4"></span>s<span class="_ _2"></span>t<span class="_ _1"></span>em<span class="_ _2"></span>.<span class="_ _1"></span>N<span class="_ _4"></span>e<span class="_ _4"></span>t<span class="_ _6"> </span><span class="ff2">&#21644;<span class="_ _0"> </span></span>S<span class="_ _1"></span>ystem.<span class="_ _1"></span>Net.<span class="_ _3"></span>S<span class="_ _1"></span>ock<span class="_ _2"></span>ets<span class="_ _8"> </span><span class="ff2">&#21253;&#21547;<span class="_ _1"></span>&#20016;&#23500;&#30340;<span class="_ _1"></span>&#31867;&#21487;</span></span></div><div class="t m0 x2 h3 y4 ff2 fs1 fc1 sc0 ls0 ws0">&#20197;&#24320;&#21457;&#22810;<span class="_ _1"></span>&#31181;&#32593;&#32476;<span class="_ _5"></span>&#24212;&#29992;&#31243;<span class="_ _1"></span>&#24207;&#12290;<span class="ff3">.<span class="_ _1"></span>Net<span class="_ _0"> </span></span>&#31867;<span class="_ _1"></span>&#37319;&#29992;&#30340;<span class="_ _1"></span>&#20998;&#23618;<span class="_ _2"></span>&#32467;<span class="_ _1"></span>&#26500;&#20801;&#35768;<span class="_ _1"></span>&#24212;&#29992;<span class="_ _2"></span>&#31243;<span class="_ _1"></span>&#24207;&#22312;<span class="_ _1"></span>&#19981;&#21516;&#30340;<span class="_ _5"></span>&#25511;&#21046;&#32423;<span class="_ _1"></span>&#21035;</div><div class="t m0 x2 h4 y5 ff2 fs1 fc1 sc0 ls0 ws0">&#19978;&#35775;&#38382;&#32593;<span class="_ _1"></span>&#32476;&#65292;&#24320;<span class="_ _5"></span>&#21457;&#20154;&#21592;<span class="_ _1"></span>&#21487;&#20197;&#26681;<span class="_ _1"></span>&#25454;&#38656;<span class="_ _2"></span>&#35201;<span class="_ _1"></span>&#36873;&#25321;&#38024;<span class="_ _1"></span>&#23545;&#19981;&#21516;<span class="_ _5"></span>&#30340;&#32423;<span class="_ _1"></span>&#21035;&#32534;&#21046;<span class="_ _5"></span>&#31243;&#24207;&#65292;<span class="_ _1"></span>&#36825;&#20123;&#32423;<span class="_ _1"></span>&#21035;&#20960;&#20046;</div><div class="t m0 x2 h3 y6 ff2 fs1 fc1 sc0 ls1 ws0">&#22218;&#25324;&#20102;<span class="_ _8"> </span><span class="ff3 ls0">In<span class="_ _4"></span>te<span class="_ _1"></span>rn<span class="_ _2"></span>et<span class="_ _0"> </span><span class="ff2">&#30340;&#25152;<span class="_ _1"></span>&#26377;&#38656;&#35201;<span class="_ _5"></span></span><span class="ls2">--</span><span class="ff2">&#20174;<span class="_ _0"> </span></span>s<span class="_ _1"></span>o<span class="_ _4"></span>c<span class="_ _2"></span>k<span class="_ _1"></span>e<span class="_ _4"></span>t<span class="_"> </span><span class="ff2">&#22871;<span class="_ _1"></span>&#25509;&#23383;&#21040;<span class="_ _1"></span>&#26222;&#36890;<span class="_ _2"></span>&#30340;<span class="_ _1"></span>&#35831;&#27714;</span>/<span class="_ _1"></span><span class="ff2">&#21709;&#24212;&#65292;&#26356;&#37325;&#35201;<span class="_ _5"></span>&#30340;&#26159;<span class="_ _1"></span>&#65292;<span class="_ _4"></span>&#36825;</span></span></div><div class="t m0 x2 h3 y7 ff2 fs1 fc1 sc0 ls0 ws0">&#31181;&#20998;&#23618;&#26159;<span class="_ _1"></span>&#21487;&#20197;&#25193;<span class="_ _5"></span>&#23637;&#30340;&#65292;<span class="_ _1"></span>&#33021;&#22815;&#36866;<span class="_ _1"></span>&#24212;<span class="_ _6"> </span><span class="ff3">I<span class="_ _9"></span>n<span class="_ _2"></span>ter<span class="_ _1"></span>n<span class="_ _4"></span>et<span class="_ _8"> </span><span class="ff2">&#19981;&#26029;&#25193;<span class="_ _1"></span>&#23637;&#30340;<span class="_ _1"></span>&#38656;&#35201;<span class="_ _2"></span>&#12290;<span class="_ _1"></span></span> <span class="_"> </span> </span></div><div class="t m0 x2 h3 y8 ff2 fs1 fc1 sc0 ls1 ws0">&#25243;&#24320;<span class="_ _8"> </span><span class="ff3 ls0">I<span class="_ _9"></span>SO<span class="_ _2"></span>/OS<span class="_ _1"></span>I<span class="_"> </span><span class="ff2 ls1">&#27169;&#22411;&#30340;<span class="_ _8"> </span></span>7<span class="_"> </span><span class="ff2">&#23618;&#26500;<span class="_ _1"></span>&#26550;&#65292;&#21333;<span class="_ _1"></span>&#20174;<span class="_ _0"> </span></span>TCP<span class="_ _5"></span>/<span class="_ _1"></span>I<span class="_ _9"></span>P<span class="_"> </span><span class="ff2">&#27169;<span class="_ _1"></span>&#22411;&#19978;&#30340;<span class="_ _1"></span>&#36923;&#36753;&#23618;<span class="_ _1"></span>&#38754;&#19978;<span class="_ _2"></span>&#30475;<span class="_ _1"></span>&#65292;</span>.<span class="_ _1"></span>N<span class="_ _4"></span>e<span class="_ _2"></span>t<span class="_"> </span><span class="ff2">&#31867;&#21487;<span class="_ _1"></span>&#20197;</span></span></div><div class="t m0 x2 h3 y9 ff2 fs1 fc1 sc0 ls1 ws0">&#35270;&#20026;&#21253;&#21547;<span class="_ _8"> </span><span class="ff3 ls0">3<span class="_ _0"> </span><span class="ff2">&#20010;&#23618;<span class="_ _1"></span>&#27425;&#65306;&#35831;<span class="_ _5"></span>&#27714;</span>/<span class="ff2">&#21709;<span class="_ _1"></span>&#24212;&#23618;&#12289;<span class="_ _1"></span>&#24212;&#29992;&#21327;<span class="_ _1"></span>&#35758;&#23618;&#12289;<span class="_ _5"></span>&#20256;&#36755;&#23618;<span class="_ _1"></span>&#12290;</span>W<span class="_ _1"></span>eb<span class="_ _4"></span>R<span class="_ _5"></span>e<span class="_ _3"></span>q<span class="_ _2"></span>eu<span class="_ _4"></span>s<span class="_ _1"></span>t<span class="_ _8"> </span><span class="ff2">&#21644;</span></span></div><div class="t m0 x2 h3 ya ff3 fs1 fc1 sc0 ls0 ws0">W<span class="_ _1"></span>e<span class="_ _4"></span>bResp<span class="_ _1"></span>on<span class="_ _4"></span>s<span class="_ _5"></span>e <span class="_"> </span><span class="ff2">&#20195;&#34920;&#20102;<span class="_ _1"></span>&#35831;&#27714;</span>/<span class="_ _1"></span><span class="ff2">&#21709;&#24212;&#23618;<span class="_ _1"></span>&#65292;&#25903;&#25345;<span class="_ _8"> </span></span>H<span class="_ _4"></span>t<span class="_ _1"></span>tp<span class="_ _2"></span><span class="ff2">&#12289;</span>Tc<span class="_ _2"></span>p<span class="_"> </span><span class="ff2">&#21644;<span class="_ _8"> </span></span>Udp<span class="_"> </span><span class="ff2">&#30340;&#31867;<span class="_ _2"></span>&#32452;<span class="_ _1"></span>&#25104;&#20102;&#24212;<span class="_ _1"></span>&#29992;&#21327;&#35758;</span></div><div class="t m0 x2 h3 yb ff2 fs1 fc1 sc0 ls1 ws0">&#23618;&#65292;&#32780;<span class="_ _0"> </span><span class="ff3 ls0">S<span class="_ _1"></span>oc<span class="_ _2"></span>k<span class="_ _4"></span>e<span class="_ _1"></span>t<span class="_"> </span><span class="ff2">&#31867;&#22788;<span class="_ _1"></span>&#20110;&#20256;&#36755;<span class="_ _1"></span>&#23618;&#12290;<span class="_ _1"></span></span> <span class="_"> </span> </span></div><div class="t m0 x2 h3 yc ff2 fs1 fc1 sc0 ls0 ws0">&#20256;&#36755;&#23618;&#20301;<span class="_ _1"></span>&#20110;&#36825;&#20010;<span class="_ _5"></span>&#32467;&#26500;&#30340;<span class="_ _1"></span>&#26368;&#24213;&#23618;<span class="_ _1"></span>&#65292;<span class="_ _a"></span>&#24403;&#20854;&#19978;<span class="_ _1"></span>&#38754;&#30340;&#24212;<span class="_ _5"></span>&#29992;&#21327;&#35758;<span class="_ _1"></span>&#23618;&#21644;&#35831;<span class="_ _1"></span>&#27714;<span class="ff3">/</span>&#21709;<span class="_ _1"></span>&#24212;&#23618;&#19981;<span class="_ _5"></span>&#33021;&#28385;&#36275;<span class="_ _1"></span>&#24212;&#29992;</div><div class="t m0 x2 h3 yd ff2 fs1 fc1 sc0 ls0 ws0">&#31243;&#24207;&#30340;&#29305;<span class="_ _1"></span>&#27530;&#38656;&#35201;<span class="_ _5"></span>&#26102;&#65292;&#23601;<span class="_ _1"></span>&#38656;&#35201;&#20351;<span class="_ _1"></span>&#29992;&#36825;<span class="_ _2"></span>&#19968;<span class="_ _1"></span>&#23618;&#36827;&#34892;<span class="_ _8"> </span><span class="ff3">Soc<span class="_ _2"></span>k<span class="_ _2"></span>et<span class="_ _0"> </span></span>&#22871;<span class="_ _1"></span>&#25509;&#23383;&#32534;<span class="_ _1"></span>&#31243;&#12290;<span class="_ _5"></span><span class="ff3"> <span class="_"> </span> </span></div><div class="t m0 x2 h3 ye ff2 fs1 fc1 sc0 ls1 ws0">&#32780;&#22312;<span class="ff3 ls0">.<span class="_ _1"></span>Net<span class="_ _0"> </span></span>&#20013;&#65292;<span class="_ _b"></span><span class="ff3 ls0">S<span class="_ _1"></span>y<span class="_ _4"></span>s<span class="_ _1"></span>te<span class="_ _4"></span>m<span class="_ _2"></span>.<span class="_ _1"></span>Net<span class="_ _1"></span>.So<span class="_ _4"></span>c<span class="_ _5"></span>ke<span class="_ _2"></span>ts<span class="_ _2"></span> <span class="_ _c"> </span><span class="ff2">&#21629;<span class="_ _1"></span>&#21517;&#31354;&#38388;<span class="_ _1"></span>&#20026;&#38656;<span class="_ _2"></span>&#35201;<span class="_ _1"></span>&#20005;&#23494;&#25511;<span class="_ _1"></span>&#21046;&#32593;&#32476;<span class="_ _5"></span>&#35775;&#38382;&#30340;<span class="_ _1"></span>&#24320;&#21457;&#20154;<span class="_ _5"></span>&#21592;&#25552;</span></span></div><div class="t m0 x2 h3 yf ff2 fs1 fc1 sc0 ls1 ws0">&#20379;&#20102;<span class="ff3 ls0"> <span class="_ _c"> </span>W<span class="_ _2"></span>i<span class="_ _1"></span>n<span class="_ _4"></span>d<span class="_ _1"></span>ows<span class="_ _2"></span> So<span class="_ _4"></span>c<span class="_ _d"></span>k<span class="_ _4"></span>ets (W<span class="_ _1"></span>in<span class="_ _4"></span>s<span class="_ _5"></span>oc<span class="_ _2"></span>k<span class="_ _4"></span>)<span class="_ _1"></span> <span class="_ _0"> </span><span class="ff2">&#25509;&#21475;<span class="_ _1"></span>&#30340;&#25176;&#31649;<span class="_ _1"></span>&#23454;&#29616;<span class="_ _1"></span>&#12290;<span class="_ _a"></span><span class="ff3">S<span class="_ _1"></span>y<span class="_ _4"></span>s<span class="_ _2"></span>tem.<span class="_ _1"></span>N<span class="_ _2"></span>et<span class="_ _2"></span> <span class="_ _c"> </span><span class="ff2">&#21629;&#21517;<span class="_ _1"></span>&#31354;&#38388;&#20013;<span class="_ _5"></span>&#30340;&#25152;</span></span></span></span></div><div class="t m0 x2 h3 y10 ff2 fs1 fc1 sc0 ls0 ws0">&#26377;&#20854;&#20182;&#32593;<span class="_ _1"></span>&#32476;&#35775;&#38382;<span class="_ _5"></span>&#31867;&#37117;&#24314;<span class="_ _1"></span>&#31435;&#22312;&#35813;<span class="_ _1"></span>&#22871;&#25509;<span class="_ _2"></span>&#23383;<span class="_ _8"> </span><span class="ff3">Sock<span class="_ _1"></span>e<span class="_ _4"></span>t<span class="_"> </span><span class="ff2">&#23454;<span class="_ _1"></span>&#29616;&#20043;&#19978;<span class="_ _1"></span>&#65292;<span class="_ _e"></span>&#22914;<span class="_ _0"> </span><span class="ff3">TCPC<span class="_ _5"></span>li<span class="_ _2"></span>en<span class="_ _2"></span>t</span>&#12289;<span class="_ _e"></span><span class="ff3">T<span class="_ _4"></span>C<span class="_ _2"></span>P<span class="_ _1"></span>Li<span class="_ _4"></span>s<span class="_ _2"></span>t<span class="_ _1"></span>en<span class="_ _2"></span>er<span class="_ _1"></span> </span></span></span></div><div class="t m0 x2 h3 y11 ff2 fs1 fc1 sc0 ls0 ws0">&#21644;<span class="ff3"> <span class="_ _0"> </span>U<span class="_ _4"></span>DPC<span class="_ _5"></span>l<span class="_ _3"></span>i<span class="_ _2"></span>en<span class="_ _2"></span>t <span class="_"> </span><span class="ff2">&#31867;&#23553;&#35013;<span class="_ _1"></span>&#26377;&#20851;&#21019;<span class="_ _1"></span>&#24314;&#21040;<span class="_ _5"></span></span> <span class="_ _0"> </span>I<span class="_ _9"></span>n<span class="_ _2"></span>ter<span class="_ _1"></span>n<span class="_ _4"></span>e<span class="_ _1"></span>t <span class="_ _0"> </span><span class="ff2">&#30340;</span> <span class="_"> </span>T<span class="_ _4"></span>C<span class="_ _2"></span>P<span class="_ _1"></span> <span class="_ _c"> </span><span class="ff2">&#21644;<span class="_ _1"></span></span> <span class="_"> </span>U<span class="_ _9"></span>DP<span class="_ _5"></span> <span class="_ _c"> </span><span class="ff2">&#36830;&#25509;<span class="_ _1"></span>&#30340;&#35814;<span class="_ _1"></span>&#32454;&#20449;&#24687;<span class="_ _1"></span>&#65307;</span></span></div><div class="t m0 x2 h3 y12 ff3 fs1 fc1 sc0 ls0 ws0">Net<span class="_ _3"></span>wo<span class="_ _1"></span>rk<span class="_ _4"></span>S<span class="_ _1"></span>tre<span class="_ _2"></span>am<span class="_ _8"> </span><span class="ff2">&#31867;&#21017;<span class="_ _1"></span>&#25552;&#20379;&#29992;<span class="_ _1"></span>&#20110;&#32593;&#32476;<span class="_ _5"></span>&#35775;&#38382;&#30340;<span class="_ _1"></span>&#22522;&#30784;&#25968;<span class="_ _1"></span>&#25454;&#27969;&#31561;<span class="_ _5"></span>&#65292;&#24120;&#35265;<span class="_ _1"></span>&#30340;&#35768;&#22810;<span class="_ _8"> </span></span>Int<span class="_ _2"></span>ern<span class="_ _2"></span>et<span class="_ _0"> </span><span class="ff2 ls3">&#26381;&#21153;</span></div><div class="t m0 x2 h3 y13 ff2 fs1 fc1 sc0 ls0 ws0">&#37117;&#21487;&#20197;&#35265;<span class="_ _1"></span>&#21040;<span class="_ _f"> </span><span class="ff3">So<span class="_ _3"></span>c<span class="_ _5"></span>k<span class="_ _3"></span>e<span class="_ _3"></span>t<span class="_ _8"> </span><span class="ff2">&#30340;&#36394;&#24433;<span class="_ _1"></span>&#65292;<span class="_ _4"></span>&#22914;<span class="_ _0"> </span><span class="ff3">T<span class="_ _1"></span>el<span class="_ _2"></span>ne<span class="_ _4"></span>t<span class="_ _1"></span><span class="ff2">&#12289;</span>H<span class="_ _4"></span>tt<span class="_ _1"></span>p<span class="_ _4"></span><span class="ff2">&#12289;<span class="_ _4"></span><span class="ff3">Em<span class="_ _5"></span>ai<span class="_ _2"></span>l<span class="ff2">&#12289;<span class="_ _9"></span><span class="ff3">Ec<span class="_ _2"></span>h<span class="_ _1"></span>o<span class="_ _0"> </span><span class="ff2">&#31561;&#65292;&#36825;&#20123;&#26381;<span class="_ _1"></span>&#21153;&#23613;&#31649;<span class="_ _1"></span>&#36890;&#35759;</span></span></span></span></span></span></span></span></div><div class="t m0 x2 h3 y14 ff2 fs1 fc1 sc0 ls1 ws0">&#21327;&#35758;<span class="_ _0"> </span><span class="ff3 ls0">Pro<span class="_ _1"></span>to<span class="_ _4"></span>c<span class="_ _2"></span>o<span class="_ _1"></span>l<span class="_ _0"> </span><span class="ff2">&#30340;&#23450;<span class="_ _1"></span>&#20041;&#19981;&#21516;<span class="_ _5"></span>&#65292;&#20294;&#26159;<span class="_ _1"></span>&#20854;&#22522;&#30784;<span class="_ _5"></span>&#30340;&#20256;&#36755;<span class="_ _1"></span>&#37117;&#26159;&#37319;<span class="_ _1"></span>&#29992;&#30340;<span class="_ _f"> </span></span>S<span class="_ _1"></span>ock<span class="_ _1"></span>e<span class="_ _4"></span>t<span class="ff2">&#12290;<span class="_ _1"></span></span> <span class="_"> </span> </span></div><div class="t m0 x2 h3 y15 ff2 fs1 fc1 sc0 ls1 ws0">&#20854;&#23454;&#65292;<span class="ff3 ls0">S<span class="_ _1"></span>ock<span class="_ _2"></span>et<span class="_"> </span><span class="ff2">&#21487;&#20197;<span class="_ _1"></span>&#35937;&#27969;<span class="_ _0"> </span></span>St<span class="_ _1"></span>re<span class="_ _1"></span>a<span class="_ _4"></span>m<span class="_ _8"> </span><span class="ff2">&#19968;&#26679;&#34987;<span class="_ _1"></span>&#35270;&#20026;&#19968;<span class="_ _5"></span>&#20010;&#25968;&#25454;<span class="_ _1"></span>&#36890;&#36947;&#65292;<span class="_ _1"></span>&#36825;&#20010;&#36890;<span class="_ _5"></span>&#36947;&#26550;&#35774;<span class="_ _1"></span>&#22312;&#24212;&#29992;<span class="_ _5"></span>&#31243;</span></span></div><div class="t m0 x2 h4 y16 ff2 fs1 fc1 sc0 ls0 ws0">&#24207;&#31471;&#65288;&#23458;<span class="_ _1"></span>&#25143;&#31471;&#65289;<span class="_ _5"></span>&#21644;&#36828;&#31243;<span class="_ _1"></span>&#26381;&#21153;&#22120;<span class="_ _1"></span>&#31471;&#20043;<span class="_ _2"></span>&#38388;<span class="_ _1"></span>&#65292;&#32780;&#21518;<span class="_ _1"></span>&#65292;&#25968;&#25454;<span class="_ _5"></span>&#30340;&#35835;<span class="_ _1"></span>&#21462;&#65288;&#25509;<span class="_ _5"></span>&#25910;&#65289;&#21644;<span class="_ _1"></span>&#20889;&#20837;&#65288;<span class="_ _1"></span>&#21457;&#36865;&#65289;</div><div class="t m0 x2 h3 y17 ff2 fs1 fc1 sc0 ls0 ws0">&#22343;&#38024;&#23545;&#36825;<span class="_ _1"></span>&#20010;&#36890;&#36947;<span class="_ _5"></span>&#26469;&#36827;&#34892;<span class="_ _1"></span>&#12290;<span class="ff3"> <span class="_"> </span> </span></div><div class="t m0 x2 h3 y18 ff2 fs1 fc1 sc0 ls0 ws0">&#21487;&#35265;&#65292;&#22312;<span class="_ _1"></span>&#24212;&#29992;&#31243;<span class="_ _5"></span>&#24207;&#31471;&#25110;<span class="_ _1"></span>&#32773;&#26381;&#21153;<span class="_ _1"></span>&#22120;&#31471;<span class="_ _2"></span>&#21019;<span class="_ _1"></span>&#24314;&#20102;<span class="_ _f"> </span><span class="ff3">S<span class="_ _1"></span>o<span class="_ _4"></span>c<span class="_ _1"></span>k<span class="_ _2"></span>et<span class="_ _0"> </span><span class="ff2">&#23545;&#35937;<span class="_ _1"></span>&#20043;&#21518;&#65292;<span class="_ _1"></span>&#23601;&#21487;&#20197;<span class="_ _5"></span>&#20351;&#29992;</span></span></div><div class="t m0 x2 h3 y19 ff3 fs1 fc1 sc0 ls0 ws0">Se<span class="_ _3"></span>n<span class="_ _2"></span>d/S<span class="_ _1"></span>e<span class="_ _4"></span>n<span class="_ _1"></span>tT<span class="_ _3"></span>o<span class="_ _8"> </span><span class="ff2">&#26041;&#27861;&#23558;<span class="_ _1"></span>&#25968;&#25454;&#21457;<span class="_ _1"></span>&#36865;&#21040;&#36830;<span class="_ _5"></span>&#25509;&#30340;<span class="_ _0"> </span></span>S<span class="_ _5"></span>o<span class="_ _3"></span>c<span class="_ _2"></span>k<span class="_ _2"></span>et,<span class="_ _3"></span><span class="ff2">&#25110;<span class="_ _1"></span>&#32773;&#20351;&#29992;<span class="_ _f"> </span><span class="ff3">R<span class="_ _1"></span>ec<span class="_ _2"></span>e<span class="_ _2"></span>iv<span class="_ _2"></span>e/<span class="_ _4"></span>R<span class="_ _5"></span>ecei<span class="_ _2"></span>ve<span class="_ _2"></span>Fro<span class="_ _4"></span>m<span class="_ _8"> </span><span class="ff2">&#26041;</span></span></span></div><div class="t m0 x2 h3 y1a ff2 fs1 fc1 sc0 ls0 ws0">&#27861;&#25509;&#25910;&#26469;<span class="_ _1"></span>&#33258;&#36830;&#25509;<span class="_ _f"> </span><span class="ff3">S<span class="_ _1"></span>ock<span class="_ _1"></span>e<span class="_ _4"></span>t<span class="_"> </span><span class="ff2">&#30340;<span class="_ _1"></span>&#25968;&#25454;&#65307;<span class="_ _1"></span></span> <span class="_"> </span> </span></div><div class="t m0 x2 h3 y1b ff2 fs1 fc1 sc0 ls1 ws0">&#38024;&#23545;<span class="_ _0"> </span><span class="ff3 ls0">Soc<span class="_ _5"></span>k<span class="_ _4"></span>et<span class="_ _8"> </span><span class="ff2 ls1">&#32534;&#31243;&#65292;</span>.<span class="_ _1"></span>N<span class="_ _9"></span>E<span class="_ _1"></span>T <span class="_"> </span><span class="ff2 ls1">&#26694;&#26550;&#30340;<span class="_ _1"></span></span> <span class="_ _c"> </span>S<span class="_ _2"></span>oc<span class="_ _2"></span>k<span class="_ _2"></span>et<span class="_ _2"></span> <span class="_ _c"> </span><span class="ff2 ls1">&#31867;&#26159;<span class="_ _1"></span></span> <span class="_ _c"> </span>W<span class="_ _1"></span>i<span class="_ _4"></span>ns<span class="_ _5"></span>ock<span class="_ _1"></span>3<span class="_ _4"></span>2 <span class="_ _2"></span>A<span class="_ _4"></span>P<span class="_ _1"></span>I <span class="_"> </span><span class="ff2">&#25552;&#20379;&#30340;<span class="_ _1"></span>&#22871;&#25509;&#23383;<span class="_ _1"></span>&#26381;&#21153;</span></span></div><div class="t m0 x2 h3 y1c ff2 fs1 fc1 sc0 ls0 ws0">&#30340;&#25176;&#31649;&#20195;<span class="_ _1"></span>&#30721;&#29256;&#26412;&#12290;<span class="_ _e"></span>&#20854;&#20013;&#20026;<span class="_ _1"></span>&#23454;&#29616;&#32593;<span class="_ _5"></span>&#32476;&#32534;&#31243;<span class="_ _1"></span>&#25552;&#20379;&#20102;<span class="_ _1"></span>&#22823;&#37327;&#30340;<span class="_ _5"></span>&#26041;&#27861;&#65292;<span class="_ _b"></span>&#22823;<span class="_ _5"></span>&#22810;&#25968;&#24773;<span class="_ _1"></span>&#20917;&#19979;&#65292;<span class="_ _b"></span><span class="ff3">S<span class="_ _5"></span>o<span class="_ _4"></span>c<span class="_ _1"></span>k<span class="_ _2"></span>et<span class="_ _2"></span> <span class="_ _c"> </span><span class="ff2">&#31867;</span></span></div><div class="t m0 x2 h3 y1d ff2 fs1 fc1 sc0 ls0 ws0">&#26041;&#27861;&#21482;&#26159;<span class="_ _1"></span>&#23558;&#25968;&#25454;<span class="_ _5"></span>&#23553;&#36865;&#21040;<span class="_ _1"></span>&#23427;&#20204;&#30340;<span class="_ _1"></span>&#26412;&#26426;<span class="_ _5"></span><span class="ff3"> <span class="_ _c"> </span>W<span class="_ _2"></span>in<span class="_ _2"></span>32<span class="_ _2"></span> <span class="_ _c"> </span></span>&#21103;<span class="_ _1"></span>&#26412;&#20013;&#24182;<span class="_ _1"></span>&#22788;&#29702;&#20219;<span class="_ _5"></span>&#20309;&#24517;&#35201;<span class="_ _1"></span>&#30340;&#23433;&#20840;<span class="_ _1"></span>&#26816;&#26597;&#12290;<span class="_ _5"></span>&#22914;</div><div class="t m0 x2 h3 y1e ff2 fs1 fc1 sc0 ls1 ws0">&#26524;&#20320;&#29087;&#24713;<span class="_ _0"> </span><span class="ff3 ls0">W<span class="_ _1"></span>i<span class="_ _1"></span>n<span class="_ _4"></span>s<span class="_ _1"></span>o<span class="_ _4"></span>c<span class="_ _1"></span>k<span class="_ _4"></span> <span class="_ _1"></span>A<span class="ls4">PI<span class="_ _d"></span></span><span class="ff2">&#20989;<span class="_ _5"></span>&#25968;&#65292;&#37027;<span class="_ _1"></span>&#20040;&#29992;<span class="_ _f"> </span></span>S<span class="_ _1"></span>ock<span class="_ _1"></span>e<span class="_ _4"></span>t<span class="_"> </span><span class="ff2">&#31867;&#32534;<span class="_ _1"></span>&#20889;&#32593;&#32476;<span class="_ _1"></span>&#31243;&#24207;<span class="_ _2"></span>&#20250;<span class="_ _1"></span>&#38750;&#24120;&#23481;<span class="_ _1"></span>&#26131;&#65292;<span class="_ _2"></span>&#24403;<span class="_ _1"></span>&#28982;&#65292;</span></span></div><div class="t m0 x2 h3 y1f ff2 fs1 fc1 sc0 ls0 ws0">&#22914;&#26524;&#20320;&#19981;<span class="_ _1"></span>&#26366;&#25509;&#35302;<span class="_ _5"></span>&#36807;&#65292;<span class="_ _a"></span>&#20063;&#19981;<span class="_ _1"></span>&#20250;&#22826;<span class="_ _1"></span>&#22256;&#38590;&#65292;<span class="_ _a"></span>&#36319;<span class="_ _1"></span>&#38543;&#19979;&#38754;<span class="_ _1"></span>&#30340;&#35299;&#35828;&#65292;<span class="_ _4"></span>&#20320;&#20250;&#21457;<span class="_ _1"></span>&#35273;&#20351;&#29992;<span class="_ _0"> </span><span class="ff3">S<span class="_ _5"></span>o<span class="_ _4"></span>c<span class="_ _1"></span>k<span class="_ _2"></span>e<span class="_ _3"></span>t<span class="_"> </span><span class="ff2">&#31867;<span class="_ _1"></span>&#24320;&#21457;</span></span></div><div class="t m0 x2 h3 y20 ff3 fs1 fc1 sc0 ls0 ws0">win<span class="_ _2"></span>do<span class="_ _4"></span>ws<span class="_ _d"></span> <span class="_ _c"> </span><span class="ff2">&#32593;&#32476;<span class="_ _1"></span>&#24212;&#29992;&#31243;<span class="_ _1"></span>&#24207;&#21407;&#26469;<span class="_ _5"></span>&#26377;&#35268;&#21487;<span class="_ _1"></span>&#23547;&#65292;&#23427;<span class="_ _5"></span>&#20204;&#22312;&#22823;<span class="_ _1"></span>&#22810;&#25968;&#24773;<span class="_ _1"></span>&#20917;&#19979;<span class="_ _2"></span>&#36981;<span class="_ _1"></span>&#24490;&#22823;&#33268;<span class="_ _1"></span>&#30456;&#21516;<span class="_ _5"></span>&#30340;<span class="_ _10"> </span>&#27493;<span class="_ _1"></span>&#39588;<span class="_ _10"> </span>&#12290;<span class="_ _b"></span><span class="ff3"> <span class="_"> </span> </span></span></div><div class="t m0 x2 h3 y21 ff2 fs1 fc1 sc0 ls0 ws0">&#22312;&#20351;&#29992;&#20043;<span class="_ _1"></span>&#21069;&#65292;&#20320;<span class="_ _5"></span>&#38656;&#35201;&#39318;<span class="_ _1"></span>&#20808;&#21019;&#24314;<span class="_ _f"> </span><span class="ff3">S<span class="_ _1"></span>o<span class="_ _3"></span>c<span class="_ _2"></span>k<span class="_ _2"></span>et<span class="_"> </span><span class="ff2">&#23545;<span class="_ _1"></span>&#35937;&#30340;&#23454;<span class="_ _1"></span>&#20363;&#65292;&#36825;<span class="_ _1"></span>&#21487;&#20197;&#36890;<span class="_ _1"></span>&#36807;<span class="_ _f"> </span></span>Soc<span class="_ _5"></span>k<span class="_ _4"></span>et<span class="_ _8"> </span><span class="ff2">&#31867;&#30340;&#26500;<span class="_ _1"></span>&#36896;&#26041;</span></span></div><div class="t m0 x2 h3 y22 ff2 fs1 fc1 sc0 ls0 ws0">&#27861;&#26469;&#23454;&#29616;<span class="_ _1"></span>&#65306;<span class="ff3"> <span class="_"> </span> </span></div><div class="t m0 x2 h3 y23 ff3 fs1 fc1 sc0 ls0 ws0">p<span class="_ _3"></span>u<span class="_ _2"></span>bl<span class="_ _4"></span>ic<span class="_ _2"></span> <span class="_ _1"></span>Sock<span class="_ _2"></span>et(<span class="_ _1"></span>Ad<span class="_ _2"></span>dre<span class="_ _4"></span>s<span class="_ _2"></span>s<span class="_ _1"></span>F<span class="_ _2"></span>am<span class="_ _2"></span>il<span class="_ _2"></span>y<span class="_ _4"></span> <span class="_ _1"></span>ad<span class="_ _2"></span>dre<span class="_ _4"></span>s<span class="_ _2"></span>s<span class="_ _1"></span>F<span class="_ _1"></span>a<span class="_ _4"></span>m<span class="_ _2"></span>il<span class="_ _2"></span>y,<span class="_ _3"></span>S<span class="_ _1"></span>ock<span class="_ _2"></span>etT<span class="_ _2"></span>y<span class="_ _1"></span>p<span class="_ _4"></span>e </div><div class="t m0 x2 h3 y24 ff3 fs1 fc1 sc0 ls0 ws0">s<span class="_ _2"></span>ocke<span class="_ _4"></span>t<span class="_ _1"></span>Ty<span class="_ _2"></span>p<span class="_ _3"></span>e<span class="_ _2"></span>,Pr<span class="_ _1"></span>oto<span class="_ _4"></span>c<span class="_ _5"></span>ol<span class="_ _4"></span>T<span class="_ _1"></span>y<span class="_ _2"></span>pe<span class="_ _3"></span> <span class="_ _1"></span>p<span class="_ _4"></span>r<span class="_ _5"></span>o<span class="_ _4"></span>toc<span class="_ _5"></span>o<span class="_ _4"></span>lT<span class="_ _1"></span>y<span class="_ _4"></span>p<span class="_ _1"></span>e<span class="_ _4"></span>);<span class="_ _1"></span> <span class="_ _8"> </span> </div></div><div class="pi" data-data='{"ctm":[1.611161,0.000000,0.000000,1.611161,0.000000,0.000000]}'></div></div> </body> </html>
评论
  • tgis.top 2010-11-05 00:19:07
    编程时考虑问题太简单了,到处都是错误。
  • tgis.top 2010-11-05 00:08:02
    写程序时考虑问题太简单,到处都是漏洞
相关推荐
  • CSHARPSOCKET.rar
    整个系统由三个核心线程组成,并由.NET线程池统一管理: 侦听客户端连接请求线程:ListenClientRequest(),循环侦听客户端连接请求。如果有,检测该客户端IP,看是否是同一观测设备,然后建立一个客户端TSession...
  • CSharpsocket-error-solution.rar
    C#socket通讯两个最经典错误解决方案。 经典错误1 无法访问已释放的对象。 对象名:“System.Net.Sockets.Socket”;解决方案 经典错误2 "远程主机强迫关闭了一个现有的连接。"解决方案
  • CSharp.Net.zip
    UDP通信实现,客户端和服务器端,使用说明见源码 [UDP.rar] - 本例是采用UDP通信,包括服务器与客户端,包括数据重传机制和异常处理机制 [UDPtest.rar]
  • Csharp.net.rar
    系统地讲解了C#网络编程的内容,适合初学者使用
  • CSharpSocket.rar
    C# socket TCP传输 Clent + server
  • CSharpSocket.rar
    C#-Socket客户端以及服务器端代码
  • FastSocket.Net-1.0.0.6
    c#的网络类库,supperSocket很牛,但没时间去研究和掌握。所以网上搜集更轻量级的socket类库替代品,小试fastSocket,不会让你失望
  • FastSocket.Net
    FastSocket.Net资源 有客户端,服务端等代码,仅供参考
  • Api-coinbasepro-csharp.zip
    Api-coinbasepro-csharp.zip,coinbase pro/gdax apicoinbasepro csharp的非正式.net/c客户端库,一个api可以被认为是多个软件设备之间通信的指导手册。例如,api可用于web应用程序之间的数据库通信。通过提取实现并将...
  • 111186745CSharp-socket.rar
    一个客服端 一个服务器 ,输入IP,端口号,开启服务器监听功能,客户端连接