▍1. lesson-14
孙鑫VC++教学课程lesson14:网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。(Sun Xin VC++ tutorial lesson14: the knowledge of the network, network program, Socket is connected applications and network drivers bridges, Socket application to create, build relationships bind driver. Thereafter, the data of the application to give socket, by the Socket handed driver and sent out on the network. After binding with the Socket IP+Port related data is received by the computer from the network, by the driver to the socket, the application can extract the data received from the Socket. Network application is sending and receiving data through the socket. TCP and UDP works and the writing process, how to link library files in the program. A character interface chat program.)