Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.77 KB

File metadata and controls

47 lines (29 loc) · 1.77 KB

socket programming tutorials

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

C Linux

  1. Socket programming in C

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.

  1. Programming udp sockets in C on Linux

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.

  1. Raw socket programming in C

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.

C Windows

  1. Winsock tutorial – Socket programming in C on windows

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.

Python

Perl

Java