[Previous] [Contents] [Index] [Next]

About This Guide

For an overview of the changes to the software and docs, see What's new in TCP/IP 5.0 (Beta)

The Programmer's Guide is intended for developers who wish to use the socket programming interface to create TCP/IP-based applications on QNX.


Note: Throughout this guide, we assume that the QNX TCP/IP Development Toolkit has been installed on your system.

This guide contains the following chapters:

You'll also find the following information, each in its own appendix:

You should note that the socket-programming functions described in these chapters are implementations of traditional UNIX-style network IPC developed by the University of California, Berkeley. This socket-programming interface provides an alternative to the IPC native to QNX.


Note: If your application doesn't require TCP/IP (e.g. it runs within the QNX LAN environment and portability isn't an issue), you should consider using the native QNX IPC facilities. The QNX IPC facilities use less overhead in your application, so your program will run faster. To learn more about QNX IPC, see the QNX System Architecture book.

Credits

The tutorial chapters in this guide are adapted from the following:

Stuart Sechrest,
An Introductory Socket Communication Tutorial,
Computer Science Research Group Computer Science Division,
Department of Electrical Engineering and Computer Science,
University of California, Berkeley

S.J. Leffler, R.S. Fabry, W.N. Joy, P. Lapsley, S. Miller, & C. Torek, 1986,
An Advanced 4.3 BSD Interprocess Communication Tutorial,
Computer Systems Research Group,
Department of Electrical Engineering and Computer Science,
University of California, Berkeley

Recommended reading

The first book describes both the XTI (streams) API and the Socket API - QNX implements the Socket API. Note also that some of the advanced API features mentioned in the book aren't supported in the TCP/IP stack.

W. Richard Stevens,
Unix Network Programming: Networking APIs: Sockets and XTI,
2nd ed., Vol. 1,
Prentice-Hall,
ISBN 0-13-490012-X.

W. Richard Stevens,
TCP/IP Illustrated, Volume 1 The Protocols,
Addison-Wesley Publishing Company,
ISBN 0-201-63346-9

W. Richard Stevens,
TCP/IP Illustrated, Volume 2 The Implementation,
Addison-Wesley Publishing Company,
ISBN 0-201-63354-X

Craig Hunt,
TCP/IP Network Administration
Second Edition,
O'Reilly & Associates,
ISBN 1-56592-322-7

What's new in TCP/IP 5.0

New functionality

New features for 5.0 include:


Note: This release constitutes a change from the BSD 4.3 Reno source base to the BSD 4.4 source base. In some cases the semantics of certain API calls have changed. In many cases we're able to provide backwards compatibility, but this shouldn't be assumed.

The best resource for information about the BSD API for multicast is Unix Network Programming: Networking APIs: Sockets and XTI by W. Richard Stevens (Prentice-Hall, ISBN 0-13-490012-X). If you choose to use this update you should obtain this book.

New content

This edition of the Programmer's Guide includes the following new material:

Changed content

This edition includes the following changes:

as well as updated prototypes in many functions.

Corrections

This edition includes the following corrections:


[Previous] [Contents] [Index] [Next]