Fao Mos I am sorted. Thanks for the offer of your help. I think I solved my problems by using something called Winsock.