Application Design for TCP/IP Networks


Designing a network-aware application isn't as simple as adding calls to read and write to sockets. In fact, sockets aren't exactly a standard. BSD Sockets, WinSock, and TCP/IP socket emulation on proprietary operating systems like VMS have slight differences in their procedural interfaces, and significant differences in operation.

Using TCP or UDP communications from within an event driven program such as a user interface can be a bit tricky, since the program shouldn't stall while waiting for incoming messages. Different windowing systems provide a variety of methods for accepting incoming traffic while allowing the user interface to continue responding to the user. Some methods work better than others.

If you are planning to design a distributed system using TCP/IP, you owe it to yourself to learn the details. If you don't have the time, contact us. We'd be happy to help.

References

TCP/IP Protocols Newsgroup
Internet RFCs
IETF Home Page
WINSOCK Information
 © Copyright 2003, DeLise Consulting, Inc.