Top "Raw-sockets" questions

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

How Do I Use Raw Socket in Python?

I am writing an application to test a network driver for handling corrupted data. And I thought of sending this …

python sockets raw-sockets
how to bind raw socket to specific interface

My application is running on CentOS 5.5. I'm using raw socket to send data: sd = socket(AF_INET, SOCK_RAW, IPPROTO_…

c linux sockets network-programming raw-sockets
Simple raw socket server in C/C++ on Linux

I am trying to build an Ethernet network with raw sockets. I cannot use TCP/IP, UDP, or any other …

c++ c linux sockets raw-sockets
How do I parse a captured packet in python?

I have a capture packet raw packet using python's sockets: s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.…

sockets python-3.x raw-sockets
Why are there differences between ETH_P_IP and ETH_P_ALL when doing a read()

I have the following setup: client(eth0) --- (eth2) linux bridge (eth1) --- (eth1) server When I open a RAW …

sockets ethernet raw-sockets raw-ethernet
Using raw sockets with C#

I want to write a port scanner in C# and I can't use SocketType.Raw as raw sockets were taken …

c# tcp raw-sockets
C Programming TCP Checksum

I have been having trouble doing the checksum for TCP for several days now. I have looked at many sources …

c tcp checksum raw-sockets
Raw socket in java

I am pretty new to java socket programming. I had already gone thorugh that java only deals with Internet Domain …

java sockets raw-sockets
How to use Golang to compose raw TCP packet (using gopacket) and send it via raw socket

I would like to craft custome TCP packets using gopacket and then send them using raw sockets. Here is a …

sockets go tcp raw-sockets gopacket
Timestamp outgoing packets

I'm trying to get accurate timestamps for outgoing packets (sent using raw sockets). According to Linux/Documentation/networking/timestamping.txt, "…

c linux timestamp raw-sockets