Socket programming tutorials on Binarytides.
Socket programming involves writing programs or applications that are able to talk to other computers or machine over a network like LAN or internet. Browsers like google chrome, firefox, chat applications like pidgin, skype are all examples of applications that use sockets.
At binarytides.com I have written a couple of tutorials on how to program sockets in various languages like C, python, perl and java check them out
This tutorial explains the basics of doing socket programming in C language on linux. Includes code examples for writing a simple tcp server and tcp client.
Small example based tutorial on programming udp sockets in C on the linux platform. Includes examples of echo server and echo client using udp sockets.
Raw sockets are used to construct customised packet headers like tcp header, ip header. These are used extensively in network security. Coding raw sockets is not difficult and this tutorial shows how to program raw sockets in C on linux.
This tutorial is on doing socket programming on Windows with the winsock api. Explains how to write a simple socket server and client using tcp sockets.