Thanks richard. I think I will look at this Catalyst winsock wrapper. All I am trying to do is make a basic text message application, so byte arrays won't be an issue for me. I understand that Kix has got its limitations, but its still pretty amazing how versatile it is for a logon script processor. I'll email you about those scripts too. Cheers.