i guess you should set the server ip to be 0.0.0.0(, so that it could receive both ip like "202.117.10.57" and loop ip address "127.0.0.1". If you set the server address as 0.0.0.0(*ADDR_ANY*), it monitor all the packet the network card recieve. regards, Kevin
2010/12/19 李重重 <[email protected]> > problem cames like that: the server and client are both run on one computer > with ip"202.117.10.57",if the client want to communicate with the server,it > send request to ip"127.0.0.1",then server can receive the request from > client,but if client send request to the real ip of > server,"202.117.10.57",the server can not receive the request!! > wei shen ma? > -- Bowen Ma a.k.a Samuel Kevin @ Bluesky Dev Team XJTU Shaanxi Province Key Lab. of Satellite and Terrestrial Network Tech http://incubator.apache.org/bluesky/
