Table of Contents - Chapter 30

Example Of A Client And A Server


30.1 Introduction 449
30.2 Connection-Oriented Communication 449
30.3 An Example Service 450
30.4 Command-Line Arguments For The Example Programs 450
30.5 Sequence Of Socket Procedure Calls 450
30.6 Code For Example Client 452
30.7 Code For Example Server 455
30.8 Stream Service And Multiple Recv Calls 457
30.9 Socket Procedures And Blocking 458
30.10 Size Of The Code And Error Reporting 458
30.11 Using The Example Client With Another Service 459
30.12 Using Another Client To Test The Server 459
30.13 Summary 460
Exercises 460