UDP端口,用于从一台PC连接到另一台PC [英] UDP port to connect from one pc to another

查看:153
本文介绍了UDP端口,用于从一台PC连接到另一台PC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要将我的电脑与另一台电脑进行语音聊天.

谁能告诉我我必须使用哪个udp端口?

Hi
I need to connect my pc wit another pc for voice chat.

Can anyone tell me which udp port i have to use?

推荐答案

您可以看到许多语音聊天应用程序的源代码.尝试找到一些:

此处: http://bit.ly/A9ByBL [使用C#的语音聊天应用 [简单语音聊天 [ http://wiki.asp.net/page.aspx/388/aspnet -open-source-projects/ [ ^ ].

我不知道这和端口号有什么关系.使用ASP.NET,您必须通过具有默认端口号的HTTP或HTTPS进行操作,请参见下文.

但是,即使所有端口号在技术上都一样好,但是选择有效端口号的问题也很重要,因为某些端口已注册,保留用于某些协议或众所周知.为避免冲突,您应始终咨询IANA.

请参阅:
http://en.wikipedia.org/wiki/Internet_Assigned_Numbers_Authority [ http://www.iana.org/assignments/service-名称端口号/服务名称端口号.xml [
You can see the source code of a number of voice chat applications. Try to find some:

Here: http://bit.ly/A9ByBL[^].

In particular, please see these CodeProject articles:
A Voice Chat Application in C#[^],
Simple Voice Chat[^].

See also http://wiki.asp.net/page.aspx/388/aspnet-open-source-projects/[^].

I don''t know how this is related to port numbers. With ASP.NET, you will have to do it through HTTP or HTTPS which have their default port numbers, please see below.

However, even though all port numbers are equally good technically, the issue of the selection of valid port numbers is important enough, because some ports are registered, reserved for certain protocols or well-known. To avoid conflicts, you should always consult IANA.

Please see:
http://en.wikipedia.org/wiki/Internet_Assigned_Numbers_Authority[^],
http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml[^].

—SA


这篇关于UDP端口,用于从一台PC连接到另一台PC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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