CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Linux socket udp
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Linux socket udp - List
[
Other
]
linuxSocket
DL : 0
网络编程,一定离不开套接口;那什么是套接口呢?在Linux下,所有的I/O操作都是通过读写文件描述符而产生的,文件描述符是一个和打开的文件 相关联的整数,这个文件并不只包括真正存储在磁盘上的文件,还包括一个网络连接、一个命名管道、一个终端等,而套接口就是系统进程和文件描述符通信的一种 方法。目前最常用的套接口是字:字节流套接口(基于TCP)和数据报套接口(基于UDP),当然还有原始套接口,原始套接口提供TCP套接口和UDP套接 口所不提供的功能,如构造自己的TCP或UDP分组,我们这里主要介绍字节流套接口和数据报套接口。- Network programming, they must take sets of interfaces then what is a socket then? In Linux, all the I/O operations are generated through the read and write file descriptors, file descriptors and open a file associated with an integer, this document does not only include the real file is stored on disk, but also includes a network connection, a named pipe, a terminal and so on, while the socket is a system process and file descriptors communication methods. The most commonly used interface is a set of words: byte stream socket (based on TCP) and datagram sockets (based on UDP), of course, the original set of interfaces, the original set of interface provides TCP socket and UDP sockets are not provided by the features, such as TCP or UDP construct their own group, we are here mainly introduces the byte stream sockets and datagram sockets.
Date
: 2025-12-20
Size
: 8kb
User
:
rason
[
Other
]
Linux
DL : 0
本书全面而深入地介绍了GNU/Linux编程。首先介绍了在Linux上编程必备的编程工具,然后在库函数、系统调用以及内核上阐述Linux编程知识,并专门讲述了包括TCP/IP、UDP以及多播套接口在内的网络编程知识;图形界面也是本书的重点内容,本书着重讲述了文本形式的图形界面库ncurses;还分别讲解了真正图形化的流行系统X Window、Qt、GNOME以及OpenGL的基本编程方法;最后,介绍了Bash编程和设备驱动编程。-Comprehensive and in-depth book introduces the GNU/Linux programming. First introduced in Linux on the programming necessary programming tools, and then in the library functions, system calls and the set of Linux kernel programming knowledge, and specifically addressed, including TCP/IP, UDP and multicast network, including socket programming knowledge graphical interface is also the focus of the content of the book, the book focuses on the text about the form of graphical interface library ncurses also give talks on the true prevalence of graphical system X Window, Qt, GNOME and the basic OpenGL programming Finally, the introduction of the Bash programming and device driver programming.
Date
: 2025-12-20
Size
: 13.39mb
User
:
万娟
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.