I don't think I could help you with your nbtstat problem but I was wondering if you could post some of the code from the other two programs that set up the connection. I just curious to see what you did and how you did it. Thanks