Manning Publications
TCP/IP Programming
for OS/2


Inside the book
Contents
Preface
Chapter 1
Chapter 10
Index

About the book
Readers also bought
From the experts
About the author

The Publisher
In press
Under development
Recently published
Catalog
Contact us

Order
Contents

      Prefacevii
 
PART I      GETTING STARTED1
 
1Preparing for Application Development3
      Software Requirements3
      Visual Development Tools5
      Additional Tools6
      Compiler Precautions7
      Using MAKE and NMAKE8
      Dynamic Link Libraries10
      Project Directory Structure11
      Where to Find Additional Tools and Information12
      Chapter Summary15
2OS/2 and Presentation Manager Basics16
      What is OS/2?16
      How OS/2 is Structured20
      What is Presentation Manager?21
      How Does PM Work?23
      Goals for PM Applications31
      Common User Access32
      Other Reference Works36
      Chapter Summary38
TCP/IP Basics39
      What is TCP/IP?39
      How is TCP/IP Structured?40
      Internet Addressing42
      Common Internet Protocols43
      TCP/IP Sockets45
      Chapter Summary51
4Considerations for System Performance52
      The 1/10 Second Rule52
      Multithreading53
      Using Object Windows57
      Chapter Summary63
 
PART II      BUILDING CLASS LIBRARIES65
 
5Developing a Class Library for Nonvisual Objects67
      Why Build a Class Library?67
      The Question of Portability68
      The NVCLASS Class Library69
      The C_INI Class70
      The C_INI_USER Class74
      The C_INI_SYSTEM Class76
      The C_THREAD Class77
      The C_THREAD_PM Class81
      The C_SEM_EVENT Class84
      Chapter Summary89
6Developing a Simple PM Class Library90
      The PMCLASS Class Library90
      Application Class93
      Basic Window Class99
      Standard Window Class126
      Child Window Class142
      Dialog Class148
      Push Button Class154
      List Box Class156
      Status Line Class163
      Menu Class166
      Slider Class169
      Toolbar Button Class174
      Toolbar Class183
      Edit Class199
      Multiline Editor Class202
      CUA Container Class221
      Debug\x12/\x12Data Logging Class245
      Chapter Summary254
7Developing a Network Interface Class Library255
      What is NETCLASS?255
      The C_CONNECT Class256
      Ping Class272
      News Class278
      FTP Class295
      Developing Other Network Classes321
      Building a Connection Manager321
      Chapter Summary323
 
PART III      BUILDING APPLICATIONS325
 
8An Improved Editor327
      Coding the Editor327
      Handling Window Creation332
      Adding Status Bar Objects333
      Adding a Multiline Editor Object334
      Sizing Up335
      Adding a Menu336
      Adding a Toolbar339
      Processing WM_COMMAND Messages344
      Loading and Saving Files350
      Adding Clipboard Interaction and Word Wrap353
      Loading Dialogs354
      Search and Replace358
      Final Embellishments367
      Chapter Summary367
9A Simple PM Ping368
      Ping Main Program368
      Getting Ping Addresses383
      Ping Product Information Dialog387
      The Ping Toolbar390
      Chapter Summary392
10A Simple News Client393
      Goals for the News Client Application393
      Building a News Connection Manager395
      Starting Up a News Client402
      Listing Available Groups420
      Managing News Subscriptions431
      Displaying Message Lists438
      Viewing Articles450
      What's Missing?451
      Dealing with Code Inefficiency452
      Chapter Summary453
11A Basic FTP Client454
      Goals for the FTP Client Application454
      Coding the FTP Client456
      Creating FTP Connections461
      Processing FTP Commands462
      Closing the Application465
      Possible Enhancements466
      Chapter Summary467
ANonvisual Class Library Reference469
BPM Class Library Reference474
CNetwork Class Library Reference490
      Index497