Shani- Monday, April 26, 2010, 7:04:36 AM, you wrote: > tSocket is a local variable. If you're writing things to mSocket and it works, and you're trying to write to tSocket and it doesn't work, does that tell you something? -- -Mark Wieder mwieder at ahsoftware.net