quote:
setup your server and open a port
Can you tell me more about it. Is it the process of running Server program in a Window?. I will tell you more detail what i did:
I''ve got 2 program that i type exactly what a author of book did (Do you know the book: Pocket TCP/IP socket programming?) and want to test it on my computer. What i did is:
1) I open a Dos-prompt window. Type the name of my server program with argument and let it run
2)Open another Dos-prompt window. Type the name of my client program with argument (with IP = 0.0.0.0) and press enter.
My Client program failed with error: "send() failed".
I don;''t know why?
PS: For anyone know the book i told above. What I test is:
Server:
TCPEchoServer 5000
Clien
TCPEchoServer 0.0.0.0 "Echo this!" 5000
connect() failed: 10065 (or 10079...?)
I don;t know if i must give another IP address?. From Run i type winipcfg and get my IP address 0.0.0.0 so i think it is correct command?
Hope you help!