首页 新闻 会员 周边

请教关于联通sgip的sp接收问题

0
[已关闭问题] 关闭于 2008-01-29 17:10
我按sgip协议写的方法发送已经没有问题了,但是接收网关的MO信息时监听网关的8855端口,总是监听不到,监听的代码如下: <BR>static &nbsp; void &nbsp; Main(string[] &nbsp; args) <BR>{ <BR>IPAddress &nbsp; ServerIp &nbsp; = &nbsp; IPAddress.Parse("127.0.0.1"); <BR>_server &nbsp; = &nbsp; new &nbsp; Socket(AddressFamily.InterNetwork, &nbsp; SocketType.Stream, &nbsp; ProtocolType.Tcp); <BR>&nbsp; _server.Bind(new &nbsp; IPEndPoint(ServerIp, &nbsp; 8855)); <BR>_server.Listen(1000); <BR>&nbsp; _server.BeginAccept(new &nbsp; AsyncCallback(OnAcceptSocket), &nbsp; _server); <BR>} <BR>private &nbsp; static &nbsp; void &nbsp; OnAcceptSocket(IAsyncResult &nbsp; ar) <BR>{ <BR>Console.WriteLine("get &nbsp; it"); <BR>} <BR>希望各位大哥帮帮忙啊
cloudgamer的主页 cloudgamer | 菜鸟二级 | 园豆:280
提问于:2008-01-19 17:23
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册