32

通过UNIX域套接字传递文件描述符-铁芒箕

 5 years ago
source link: http://blog.51cto.com/5662165/2146952
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
  传送文件描述符是高并发网络服务编程的一种常见实现方式。Nebula高性能通用网络框架即采用了UNIX域套接字传递文件描述符设计和实现。本文详细说明一下传送文件描述符的应用。1.TCP服务器程序设计范式  开发一个服务器程序,有较多的的程序设计范式可供选择,不同范式有其自身的特点和实用范围,明了不同范式的特性有助于我们服务器程序的开发。常见的TCP服务器程序设计范式有以下几种:迭代服务器并发服务

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK