Top "Raw-sockets" questions

An internet socket that allows direct sending and receiving of raw network packets that contain all headers.

Capturing performance with pcap vs raw socket

When capturing network traffic for debugging, there seem to be two common approaches: Use a raw socket. Use libpcap. Performance-wise, …

linux libpcap raw-sockets
Raw socket with device bind using setsockopt() system is not working in Fedora core 6(2.6.18-1.2798.fc6)

Please any one could help on this issue. Please In the below sample code,we had bind raw sock with …

c raw-sockets
Packet socket in promiscuous mode only receiving local traffic

I have a socket created with socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), and I've set it into …

c linux security raw-sockets promiscuous-mode
struct: unpack Requires String Argument of Length 16

For my Computer Networking class, I'm trying to implement Traceroute using raw sockets with the ICMP protocol. I need to …

python sockets networking icmp raw-sockets
How to bind a Raw Socket to a specific port?

I am currently working on a programming assignment. The assignment is to implement a client,network emulator, and server. The …

c network-programming raw-sockets
Raw socket sendto failed using C on Linux

I'm trying to send a raw packet using UDP, with the IP and UDP headers that I have constructed in …

c udp raw-sockets sendto
How to write byte by byte to socket in PHP?

How to write byte by byte to socket in PHP? For example how can I do something like: socket_write($…

php sockets byte raw-sockets
Accessing wireless interface (802.11) at MAC layer (Linux)

I spent the last days reading through man pages, documentations and anything else google brought up, but I suppose I'm …

linux network-programming network-protocols raw-sockets systems-programming
create SOCK_RAW socket just for sending data without any recvform()

If I create a socket whose type is SOCK_RAW only to send some data without receiving any data, is …

linux sockets raw-sockets
How to workaround the "Limitations on Raw Sockets" under Windows 7?

I am developing a TCP protocol fuzzing software under Windows 7. I wanna to send self constructed TCP packet using Raw …

windows sockets tcp raw-sockets