无法接收,因为我无法在UDP端口上绑定

编程入门 行业动态 更新时间:2024-10-28 19:26:23
本文介绍了无法接收,因为我无法在UDP端口上绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在A端口(假设端口500)上接收数据,并且该端口正在被其他人使用,所以我无法在该端口上绑定/接收.

I wanted to receive data on A port (suppose port 500), and that port is in use by something else, SO I can NOT bind/receive on that port.

实际上,我只需要在该端口上发送内容的REMOTE端点IPAddress.

Actually I only need the REMOTE endpoint IPAddress that is sending something on that port.

因此,我决定在该端口上构建一个类似数据包嗅探器"的东西,该嗅探器可以查看数据包来自何处".仅此而已.......

So I decided to build something like a packet sniffer that can "SEE from where the packet is coming" on that port. ONLY THAT, nothing more..........

有人可以帮我吗?

我只是C#的业余爱好者,所以请用简单的代码plss .... ??

I''m just an amateur in C#, so plss in simple codes plsss....??

我在网络上发现了数据包嗅探器,但我不理解代码.

I found packet sniffer on the net but I don''t understands the codes.

我要采取什么措施来嗅探端口上的数据包?

What are the steps that i have to take to snif packets that is coming on a port???

help plsss ....

help plsss....

推荐答案

如果您不了解数据包嗅探器的信息,怎么办可能希望编写任何形式的通讯程序?我建议您花一些时间来阅读TCP/UDP协议和套接字的使用.

If you don''t understand the information from the packet sniffer, how can you possibly hope to write any sort of commuications program? I suggest you take some time to read up on TCP/UDP protocols and the use of sockets.

更多推荐

无法接收,因为我无法在UDP端口上绑定

本文发布于:2023-08-07 03:53:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1316828.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:绑定   端口   因为我   UDP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!