您的位置:首页 > 理论基础 > 计算机网络

TCP三次握手是内核实现的还是应用实现的

2016-08-26 15:57 302 查看
TCP三次握手是内核实现的还是应用实现的

参考

http://stackoverflow.com/questions/9809348/tcp-where-is-the-3way-handshake-implemented

引文

Who implements the 3way handshake process (syn - syn+ack - ack) , the operating system (kernel) auto, the developer of the app ?

Not the app of course.It is done but the implemenetation of TCP/IP stack part of your OS

In the web server <–> web browser environment , was apache programmed to send a SYN+ACK pachet upon the arrival or the SYN packet ?

Application servers use underlying OS facilities for the network communication. The part you describe is completely done by the TCP/IP implementation of the OS

I know how to send a raw packet

Yes but when sending a raw packet you can only “form” the data in the frame which usually are not “visible”/accesible. You don’t define a flow or have any other control.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  计算机网络