Home Segments Index Top Previous Next

Appendix E:

How to Use Sockets
to Connect Programs

Using C, you usually can combine two programs, from diverse sources, to produce a single C program. Sometimes, however, the program-combining option is not available, because two programs are to be part of a distributed system running on two computers. In such circumstances, you need to know how to arrange for those programs to communicate via a network, such as the Internet.