Final year project on Socket Programming using encryption and decryption of packet

Hi friends, i'am Cardy and new to this forum. I would like to know about the current system of socket programming works (Client PC and server PC transfer the packet on the network) and also how can i implement the proposed system of socket programming using encryption and decryption of data when client and server transfer packet back and forth on the network. I will really appreciate for your support