Originally posted by Claude Cundiff:
Do I have to send something to the server before I get a response?
That's determined by the communication protocol the server uses.
Why don't you try just reading bytes from the server to begin with? Once you've established you can get output, you can refine how you process that information.