I construct the winsock server and client. the probelm is if I fix the IP of RemoteHost as below:
Winsock1.Protocol = sckTCPProtocol
Winsock1.RemoteHost = "10.0.0.3"
Winsock1.RemotePort = 1720 '=Text2
Winsock1.Connect

the program work well.

But if i change the IP of RemoteHost as as server IP as below:
Winsock1.Protocol = sckTCPProtocol
Winsock1.RemoteHost = text1
Winsock1.RemotePort = 1720 '=Text2
Winsock1.Connect

the program not work as well as above and appear a message with
"Error=xxxx authorative answer: host not found 9"

Can any body tell me what is the error in second part??????????
Thanx