使用HttpWebRequest与HttpWebResponse在客户端与服务器互相发送与接收数据的问题.
jvhmr 2005-01-28 11:34:24 //我的想法:
/**************************************** 客户端 ********************************/
sChargeServerURL = "http://192.168.1.2/Server/Incept.aspx?name=test";
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(sChargeServerURL);
httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
//接收来自服务器回应的Char[]数据......
/** 客户端的代码已经实现
***********************************************************************************/
/**************************************** 服务器 ********************************
1-接收来自客户端的请求
2-判断传来的数据
3-返回相应的数据
服务器的代码未实现
***********************************************************************************/
请教我如何实现服务器上的功能呢?