Home > other >  During the Windows 7 edition VS2010 using c # language under the Raw socket socket statement hints t
During the Windows 7 edition VS2010 using c # language under the Raw socket socket statement hints t

Time:10-10

The namespace WindowsFormsApplication1
{
Public partial class Form1: Form
{
Public _click ()
{
InitializeComponent ();
}

Private void button1_Click (object sender, EventArgs e)
{
Socket Socket=new Socket (AddressFamily. InterNetwork, SocketType. Raw, ProtocolType Icmp);
MessageBox. Show (" ss ");
}
}
}

Code as above, when tested, tips for a way to access is not allowed to do an attempt to access a socket, as a beginner, just come up for a circle, please everyone a great god for help, thank you!
  • Related