{"id":91462,"date":"2020-05-04T07:24:29","date_gmt":"2020-05-03T23:24:29","guid":{"rendered":"http:\/\/4563.org\/?p=91462"},"modified":"2020-05-04T07:24:29","modified_gmt":"2020-05-03T23:24:29","slug":"vs-%e6%a0%87%e5%87%86%e5%ba%93-%e6%ba%90%e7%a0%81%e6%b3%a8%e9%87%8a%e9%97%ae%e9%a2%98%e8%83%bd%e4%b8%8d%e8%83%bd%e6%83%b3-java-%e4%b8%80%e6%a0%b7%ef%bc%9b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=91462","title":{"rendered":"vs \u6807\u51c6\u5e93 \u6e90\u7801\u6ce8\u91ca\u95ee\u9898\u80fd\u4e0d\u80fd\u60f3 Java \u4e00\u6837\uff1b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  vs \u6807\u51c6\u5e93 \u6e90\u7801\u6ce8\u91ca\u95ee\u9898\u80fd\u4e0d\u80fd\u60f3 Java \u4e00\u6837\uff1b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 251 <\/span>  <span><i><\/i> 19<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        vs c++ \u91cc\u9762\u6ce8\u91ca\u5f88\u7b80\u964b\uff0c\u80fd\u4e0d\u80fd\u4e0b\u8f7d\u6ce8\u91ca\u4e30\u5bcc\u4e00\u70b9\u7684\u5934\u6587\u4ef6\uff0c\u50cf java \u8fd9\u6837\uff1a<br \/>\/**<br \/> * Creates an unconnected Socket with a user-specified<br \/> * SocketImpl.<br \/> * &lt;P&gt;<br \/> * @param impl an instance of a &lt;B&gt;SocketImpl&lt;\/B&gt;<br \/> * the subclass wishes to use on the Socket.<br \/> *<br \/> * @exception SocketException if there is an error in the underlying protocol,<br \/> * such as a TCP error.<br \/> * @since JDK1.1<br \/> *\/<br \/> protected Socket(SocketImpl impl) throws SocketException {<br \/> this.impl = impl;<br \/> if (impl != null) {<br \/> checkOldImpl();<br \/> this.impl.setSocket(this);<br \/> }<br \/> }      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1249601\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : 251 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vc \u91cc\u9762\u6ce8\u91ca\u662f\u8fd9\u6837\u7684,\u592a\u7b80\u964b\u4e86\u3002<br \/>#if INCL_WINSOCK_API_PROTOTYPES<br \/>WINSOCK_API_LINKAGE<br \/>_Must_inspect_result_<br \/>SOCKET<br \/>WSAAPI<br \/>socket(<br \/> _In_ int af,<br \/> _In_ int type,<br \/> _In_ int protocol<br \/> );<br \/>#endif \/* INCL_WINSOCK_API_PROTOTYPES *\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1249602\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : 251 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5fae\u8f6f\u7684\u4e1c\u897f\u4e3b\u8981\u9760\u6587\u6863\u800c\u4e0d\u662f\u6ce8\u91ca\u3002\u53ef\u4ee5\u76f4\u63a5\u53bb\u5b98\u7f51\u4e0a\u770b\uff0c\u4e5f\u53ef\u4ee5\u5b89\u88c5 VS \u7684 Help Viewer \u7ec4\u4ef6\u7136\u540e\u4e0b\u8f7d\u79bb\u7ebf\u6587\u6863\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1249603\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lonewolfakela <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lonewolfakela \u5176\u5b9e java \u6ce8\u91ca\u5c31\u662f\u6587\u6863\uff0c\u770b\u6e90\u7801\u76f4\u63a5\u70b9\u8fdb\u4e00\u4e2a\u65b9\u6cd5\uff0c\u65b9\u6cd5\u4e0a\u9762\u5c31\u662f\u6587\u6863\uff0c\u770b\u6e90\u7801\u6bd4\u8f83\u65b9\u4fbf\u3002\u4e0d\u8fc7 help viewer \u4e5f\u633a\u597d\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>vs \u6807\u51c6\u5e93 \u6e90\u7801\u6ce8\u91ca\u95ee\u9898\u80fd\u4e0d\u80fd\u60f3&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/91462"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91462"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/91462\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91462"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}