Recently in the Reading Network programming books, because not the communications professional background, the network system before understanding the feeling is TCP/IP, recently work in contact with a number of Halo network and other messy things, some basic LC,SC connectors do not know. Take time to see the knowledge of computer network architecture, starting from arpranet The realization of computer network can be divided into resource subnets and communication subnets. such as:
Resource subnets are mainly composed of network servers, workstations, shared printers and other devices and related software. Communication subnet: Refers to the network to implement network communication functions of the device and its software collection, including the original signal repeater, hub, bridge, switch, router gateway and other equipment. arpnet out after the rapid development of the network system, and then the International Organization for Standardization in order to prevent each company units into a system, consulted a number of companies advice, developed a network reference model (osi/rm,Open System Interconnection Reference Model, note is a model, rather than standard, used as a reference for the network system. Most of the following network systems include the IEEE802.1 LAN system, theTCP/IP protocol architecture, and the WLAN standard IEEE802.11 all refer to the OSI architecture Design.
Frankly, the network system of many protocols, in fact, is around this network equipment communication between, for example, computer and computer (performance as network card and network card and other devices) how to communicate, the computer and the hub how to communicate, How the hub and the bridge before the communication, and so on, the network includes both the hub and the computer between the 1 to a lot of network communication, but also includes different local subnet between the gateway this 11 means of communication. The key is to "unified Jiangshan", to achieve end-to-end communication. It is better to understand the network protocol that corresponds to the physical connection on the hardware. No, the network structure of the knowledge behind, say, here first return to the right, summed up under the window
Programming interfaces are definitely for programmers, considering that most programmers work in the application layer, so most of the network programming interfaces are based on the application space on the operating system. Different operating systems before the programming interface is different (because the architecture is the same, although the programming interface is different, but the approximate operation of the idea is consistent), in the Windows platform, the most common WinSock programming Interface, NetBIOS programming interface. The relationship between these two interfaces can be said to be due to the historical development, it has nothing to do with the TCP/IP,NetBEUI, and ipx/spx Network protocol start speaking.
WinsockThe development of programming interfaces is used to deriveArpranetof network SystemsTcp / ipAgreementWinsockThe programming interface specification and defines how to use theApiinternet protocol clusters, while supporting "connection-oriented" session services and "No connection" datagram services. Provides a lot of api functions, especially based on windows system extension Library functions, following windows message-driven mechanism, in windows platform has been widely used. Later in window 2000~2003 between the operating systems, winsocket 2 added to ipx/spxnetbeui support, but later from vista function int af parameters). TCP/IP is currently the most popular network protocol, but the TCP/IP protocol is not highly efficient in local area networks, and it often occurs when browsing computers in My Network Places. Installing the NetBEUI protocol at this point will solve this problem.
Netbios interface was originally ibm The company developed for its own LAN real-time network communication protocol--netbeui protocol, made of network programming interface. Due to its extremely high communication efficiency and support for broadcasting, various network vendors later began to tcp/ipipx/spxnetbios interface, which means netbios netbeui
< Span lang= "en-US" > Ipx/spx protocol was originally developed by Novell specifically for the NetWare network protocol, routable, high communication efficiency, But now it's also very popular-most online games support ipx/spx protocols like StarCraft, counter-strike, etc. Although these games can be brought online via the TCP/IP protocol, it is still easier to pass the Ipx/spx protocol, because no settings are required at all. In addition, the use of the Ipx/spx protocol in the local area network does not seem to be very large, if you decide not to play online games on the LAN, then this protocol is optional. At present, the programming interface of this protocol is generally used netbiosvistaipx The support and use of vista above the system, You can go to xpwin7
Looking for information, inadvertently found a moonlight blog of an old article, he was at that time the undergraduate thesis is network programming. Look back, these eight bad things are really with the times, for their generation witnessed the people are relatively easier to understand than our young people. After all, I haven't seen him. The Internet is their era of development, what is our time?
Reference:
Http://network.51cto.com/art/200701/38792.htm
https://msdn.microsoft.com/en-us/library/ms739935 (v=vs.85). aspx
Http://www.williamlong.info/archives/455.html
NetBIOS and Winsock programming interfaces