Its ok now its finally fixed i managed to get hold of winsock and it worked a treat, thanks for all your help guys