Socket

Up: GEOS SDK TechDocs| Up | Down | Next: 1 Introduction
| One-page Version of this Chapter for Easy Printing

This chapter describes interactions with the Socket library, used for managing communications between threads -- threads on different machines or two GEOS threads on the same machine (via the "loopback" communication domain). It provides an API which is mostly independent of the medium used for inter-machine communication.

It is common to spawn a separate thread to poll a socket for incoming data; See the Multithreading chapter to learn about managing threads. Sample applications are located in APPL\SDK_C\MultThrd. Some socket operations require knowledge of the communications network used.


Up: GEOS SDK TechDocs| Up | Down | Next: 1 Introduction
| One-page Version of this Chapter for Easy Printing