Networking

We do not have a tutorial on networking in Pascal, but Max Foster's NetworkChat and James Hall's AlphaClient and AlphaServer show how this can be achieved using SDL. Java is noted for its ease of networking and Oxygene for Java has access to the same methods. We hope that this tutorial will encourage you to write networking programs of your own and to make client-server versions of existing programs where appropriate.

The first example shows you how to retrieve web pages and read the header data of the download. The client-server demonstrations that follow start with the simplest echo program then progress to a client-server version of Adam Renak's Crossword.

We use a TINY project in each application to shorten the code and thereby make it a little easier to follow.

Programming - a skill for life!

Console, frame-based and Android applications, applets, game development, networking and language features