silgle端口中的多个连接 [英] Multiple Connections in silgle port

查看:68
本文介绍了silgle端口中的多个连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


我正在进行套接字编程。


     我在这里像Senario那样


我有一个服务器套接字。服务器套接字有一个端口8221


 


现在我想这样做,不止一个具有不同IP地址的客户端应连接到同一端口上的特定服务器套接字(在我们的示例中为8221端口)。


 


是否可以在同一端口上与服务器建立客户端连接?


如果可能,请为客户端和服务器提供一些代码你可以帮助我吗?

解决方案

这无关使用Visual Studio可扩展性。 请停止在此论坛上提出主题问题。


Ryan


hi

I am doing socket programming.

     I have here senario like

I had one server Socket .The server Socket has one port 8221

 

Now I want to do that more than one client with different IP address should be connected to the particular server socket on same port( here in our example 8221 port).

 

Is it possible to do client connection to server on same port?

If possible than please provide some code for client as well as server side.

can you please help me for that?

解决方案

This has nothing to do with Visual Studio Extensibility.  Please stop asking off topic questions on this forum.

Ryan


这篇关于silgle端口中的多个连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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