Loco
07-27-2002, 01:50 AM
3 - Writing Client Applications (TCP/SOCK_STREAM)
How do I convert a string into an internet address?
How can my client work through a firewall/proxy server?
Why does connect() succeed even before my server did an accept()?
Why do I sometimes lose a server's address when using more than one server?
How can I set the timeout for the connect() system call?
Should I bind() a port number in my client program, or let the system choose one for me on the connect() call?
Why do I get "connection refused" when the server isn't running?
What does one do when one does not know how much information is comming over the socket? Is there a way to have a dynamic buffer?
How can I determine the local port number?
How do I convert a string into an internet address?
How can my client work through a firewall/proxy server?
Why does connect() succeed even before my server did an accept()?
Why do I sometimes lose a server's address when using more than one server?
How can I set the timeout for the connect() system call?
Should I bind() a port number in my client program, or let the system choose one for me on the connect() call?
Why do I get "connection refused" when the server isn't running?
What does one do when one does not know how much information is comming over the socket? Is there a way to have a dynamic buffer?
How can I determine the local port number?