Added the main structures and functions used in socket programming