数据链路层上的c#套接字 [英] c# socket on Data Link layer

查看:81
本文介绍了数据链路层上的c#套接字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在c#中将低级协议的数据发送为Ether和Arp,而不使用任何模块作为Winpcap或python中的scapy。我想知道哪个API函数能够将数据发送到默认网络接口或选择一个。这可能是比特或字节数据也没关系。



谢谢!

I want to send data on low level protocol as Ether and Arp in c# without any module as Winpcap or scapy in python. I want to know which API function capable to just send data to the default network interface or chosen one. This can be bits or bytes data it's isn't matter.

Thanks!

推荐答案

它可以可以在几个不同级别的网络,远程处理或WCF之一上完成。

请在我过去的解决方案中查看我对这些方法的概述:

我可以将byte []发送到其他电脑 [ ^ ],

沟通b / w LAN上的两个Windows应用程序。 [ ^ ]。



-SA
It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA


这篇关于数据链路层上的c#套接字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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