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.
摘要: 在Linux下进行网络编程时通常使Socket.Linux系统的输入输出模型主要有4种:阻塞式,非阻塞式,多路复用和信号驱动。这4种输入输出模型均具有一定的局限性,使得在Linux下的网络编程颇不方便。该文设计了一种面向对象、消息驱动的Socket模型。
关键词:
Socket,
消息驱动,
Linux
CLC Number:
ZENG Leon, LING Li. Linux-based Message-driven Socket Model[J]. , 2003, 29(19): 127-.
曾立安,凌力. 基于Linux的消息驱动Socket模型[J]. , 2003, 29(19): 127-.