How to write a Linux daemon.
SLAE Problem 4: Custom Encoding Scheme
A demonstration of a custom encoding scheme
SLAE Problem 3: Egg Hunter Demonstration
A demonstration of an egg hunter searching for shellcode
SLAE Problem 2: Reverse TCP Shellcode
A nice walkthrough of creating a reverse shellcode from scratch
SLAE Problem 1: TCP Bind Shell Shellcode
From my experience playing around with socket programming in C and Python, there is a basic formula and group of function calls for creating clients and servers. Most of them will be useful to us. A couple won't be applicable to our situation.