Asynchronous Communication Between Windows and Linux Platforms Based on Socket
DOI:
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    This article analyses the principle and characteristics of I/O multiplexing models. It uses the socket's asynchronous communication to solve the problem of insufficient number of concurrent when Windows platform communicates with Linux platform. And the whole system adopts Client/Server model to build cross-platform asynchronous communication program. The server uses the epoll model provided by Linux and the client uses the AsyncCallBack provided by.NET to realize the cross-platform asynchronous communication. In addition, the program combines with the multithreading programming method to deal with the display problem of the client. From the observation of communication process, the server can receive data sent by multiple clients in the meantime and return data to them. In conclusion, with the using of the epoll interface, Linux server's concurrency is improved. For this reason, the real-time performance of the network communication between Windows and Linux platforms is also improved.

    Reference
    Related
    Cited by
Get Citation

徐克宝,武慧,文艺成.基于Socket的Windows与Linux平台异步通信.计算机系统应用,2015,24(7):232-235

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:October 27,2014
  • Revised:December 17,2014
  • Adopted:
  • Online: July 17,2015
  • Published:
Article QR Code
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063