作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (19): 127-.

• 论文 • 上一篇    下一篇

基于Linux的消息驱动Socket模型

曾立安,凌力   

  1. 复旦大学计算机科学系,复旦大学通信工程系 上海 200433
  • 发布日期:2003-10-15

Linux-based Message-driven Socket Model

ZENG Leon, LING Li   

  • Published:2003-10-15

摘要: 在Linux下进行网络编程时通常使Socket.Linux系统的输入输出模型主要有4种:阻塞式,非阻塞式,多路复用和信号驱动。这4种输入输出模型均具有一定的局限性,使得在Linux下的网络编程颇不方便。该文设计了一种面向对象、消息驱动的Socket模型。

关键词: Socket, 消息驱动, Linux

Abstract: Socket is the most common method for network programming on Linux/Unix. There are 4 kinds of I/O models in Linux/Unix. However, it is rather difficult to use these models for programming because of their inconvenience. This paper provides a message-driven and object-oriented model for socket programming, including its design and implementation.

中图分类号: