7月 152012
 

实例代码:

 

  1. 当IP地址可以ping通,但是端口未开启时(直接返回Reset数据包),返回错误信息为:
    错误号: 0; 错误信息:Transport endpoint is not connected
  2. 当IP地址不能ping通,或者发送syn数据包,但是不能收到Reset或sys-act数据包时,返回错误信息为:
    错误号: 0; 错误信息: Operation now in progress

 

 Posted by at 下午 11:10

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据