I setup a raw Packet socket using the following: sockFd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL) );
I want to write a port scanner in C# and I can\'t use SocketType.Raw as raw sockets were taken out from desktop versions of windows. I can\'t use SharpPcap either or other wrapper for Winpcap as I use
I need to use raw sockets in Windows CE 5.0. The following code always fails with error socket fai开发者_运维知识库led, err:10044.(The support for the specified socket type does not exist in this ad
I am trying to implement UpNP in C++, I found a few sources on google but none worked. I found this one working (http://www.codeproject.com/KB/IP/upnplib.aspx) but it\'s for .NET, so I decided to snif
I have a small project that I\'ve been working on in C++, and due to the nature of what it does, I need to insert packets in to a live TCP stream. (The purpose is innocent enough, http://ee.forumify.c
I am studying raw sockets. I used the IP_HDRINCL option to build my own IP headers. After the IP header, I am building a UDP header. Then I am sending the packet to my system\'s loopback address. I ha
I need to read a complete (raw) IP frame from a TCP stream socket using Python. Essentially I want an 开发者_如何学编程unmodified frame just as if it came off the physical line, including all the head
I am currently working on a programming assignment. The assignment is to implement a client,network emulator, and server. The client passes packets to a network emulator, and the network emulator pass
As part of a homework assignment, I have to write a C开发者_JS百科 program in Linux that generates ICMP replies to ICMP Echo requests using raw sockets. Does the data in the ICMP Packet have to be inc
I\'m trying write a C progr开发者_开发技巧am that sends an UDP packet to a given IP adress and waits for an ICMP response of a router telling that the time to live expired. It\'s kept very simple beca