If you use the provided MSDN examples, and tweak them a little, you'll get whatever you need.

Otherwise, I charge $1000 per day, plus expenses, for debugging. I have expensive tastes, by the way.

Joking aside, if you or your friend has a specific problem, post the problem/exception/offending code. TCP communication is easy.