摘要: 1.不管被动和主动,只要发送Fin分节就关闭此端应用层。那么挥手时S接到Fin,此刻C已经关闭应用层,那么S再发送消息岂不是无用,浪费网络资源? 阅读全文
posted @ 2019-01-02 00:17 菜鸡徐思 阅读(189) 评论(0) 推荐(1) 编辑
摘要: 以下是从stackoverflow上抄下来的,很有帮助 How can you have a TCP connection back to the same port? A TCP connection is uniquely identified by this tuple (local addr 阅读全文
posted @ 2019-01-02 00:10 菜鸡徐思 阅读(549) 评论(0) 推荐(1) 编辑