如何使用C#在ASP.NET中创建TCP套接字客户端服务器编程? [英] How to create TCP socket client server programming in ASP.NET with C#?

查看:188
本文介绍了如何使用C#在ASP.NET中创建TCP套接字客户端服务器编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的会员,
我是MCA学生.我想用C#在ASP.NET中创建一个客户端服务器程序.该程序正在从客户端接收数据包.服务器将获取客户端的IP地址和端口号,并在此端口号上给予答复.

解决方案

您可以使用COMET来执行此操作.
ASP.NET和Comet:带回套接字是向您展示如何实现此目的的文章. /blockquote>

嗨 我是学生,这是我的专案
请给我发送邮件地址或此网站
z.bahmanyari@gmail.com


Dear members,
I am an MCA student. I want to create a client server program in ASP.NET with C#. This program is receiving a packet from client. The server will get the IP address and port number of the client and give it the reply on this port number.

解决方案

You can use COMET to do this.
ASP.NET and Comet: Bringing Sockets Back is an article to show you how this can be done.


hi i am student and this subject is my project
please send me to mail address or this site
z.bahmanyari@gmail.com


这篇关于如何使用C#在ASP.NET中创建TCP套接字客户端服务器编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆