Design and implementation of general communication software package LX-GC

Author
YangXiaoJian
Advisor
QinMeiFang
School
Institute of Computing Technology
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
1997
Downloads
17
Citations
0

Request the full text

Abstract

Typically, network program developers use "socket" directly to solve the TCP/IP network communication problem. Two deficiencies are clear: Firstly, the communication module in the application is complicate and difficult to implement due to the diversity of application requirement and/or environment; Secondly, it is almost impossible to reuse the communication module in other applications.The purpose of this paper is to discuss the design and implementation of LX-GC(Legend General Communication Kit). LX-GC is a cross platform(UNIX/Windows) software, based on TCP/IP socket. It uses communication agents to control send/receive data, uses information pools to confirm dependable transmission(data will be delayed if network is not ready), uses triggers to control process running, and provides API for application developers. LX-GC has been successfully used in designing a practical application system. The further improvement of LX-GC is also discussed.

Table of contents

Thanks 3-4 Summary 4-5 ABSTRACT 5-8 Chapter 1 Introduction 8-10 <br / > Chapter 2 Background LX-GC package proposed proposed 10-14 2.1 issues 10-11 2.2 LX-GC basic functions envisaged 11 -12 2.3 LX-GC achieve positioning 12-14 Chapter III network communication software-related technical analysis 14-24 3.1 transport-layer services 14-18 3.2 flow Control 18-19 3.3 dialog protocol 19-21 3.4 transmission synchronization 21-22 3.5 middleware technology 22-24 Chapter LX-GC overall design 24-32 4.1 overall structure 24-26 4.2 communications agency 26-28 4.3 information pool 28-29 4.4 trigger 29-30 4.5 communication log 30 -32 detailed design and implementation of the fifth chapter in the UNIX 32-49 5.1 basic data structures 32-36 5.1.1 communication frame structure. 32-33 5.1.2.IPC message structure 33-35 5.1.3 semaphore 35-36 5.2 communications agency 36-40 5.2.1 receiving Agent communication module 37-38 5.2.2 communication sending proxy module 38-40 5.3 data transfer 40-42 5.3.1 breakpoint recovery and retransmission 40 5.3.2 encrypted transmission 40-42 5.4 information pool 42-43 5.5 application Layer API 43-49 5.5.1 interface functions 43-45 5.5.2 typical application layer programming 45-49 Chapter VI LX-GC software application examples 49-55 6.1 project Overview 49-51 6.2 in the application system for the LX- GC improvements 51-55 6.2.1 application communication service agreement 51-54 6.2.2 local improvement 54-55 seventh Chapter LX-GC is further envisaged achieve 55-63 7.1 WINDOWS under 55-57 7.2 using a connectionless datagram service 57-62 7.2.1 TCP and UDP 57-59 7.2.2 implementation point 59-62 7.3 Conclusion 62-63 References 63-65 Author Biography 65