Simple socket programs which i have tried for my private learning. You can use this if it works for you as well.