Hi,

I am trying to write a simple Client/ Server application. I am using a TcpListener, and a TcpClient with a NetworkStream. I have got as far as connecting a single client to a server app, and my server can read data sent from the client. However, I want my server to send something back to acknowledge the connection - I am confused. Do I need a separate UDP connection or is the fact that a connection has already been established enough? At the client end I am creating a socket to send the data to the server - it keeps on falling over when I try to create a listener socket at the client end waiting for a response.

Can somebody point me to a simple echo style application or something that will help me?

I would be most grateful,

Thanks,
DJ