Here is a great tutorial series on socket programming within the C language. Later I’ll do a write up for a simply python socket program that will be a little bit easier to digest then this.
These videos where originally posted by ringneckparrot on SecurityTube. You can also just search his profile for the master list.
Socket Programming 101
More Network Theory
TCP And UDP
* Fun fact about Endiannes, it’s a made up word from Gulliver Travels
Some Useful Utilites
Two More Structures