Top "Packet" questions

A packet is one unit of binary data capable of being routed through a computer network.

Java UDP packet size

In Java a single char is 16 bit, 2 bytes. That means if I want to send an UDP packet to a …

java udp size packet
Retrieving buffer/packet/payload sizes for USB serial write transfer in userspace Linux C code

Apologies in advance I won't be able to accept an answer here immediately - just thought I'd like to jot …

c linux buffer packet usbserial
How to capture ip address using jpcap in java

Here is the code to capture the ICMP packets and store in txt file, but the storing information is in …

capture packet icmp jpcap
Sniffing and displaying TCP packets in UTF-8

I am trying to use tcpdump to display the content of tcp packets flowing on my network. I have something …

utf-8 tcp packet sniffing tcpdump
Using Scapy to send Fragment Packets with random Offsets

I would like to send fragmented packets size of 8 bytes and a random starting offset. Also want to leave out …

python scapy packet penetration-testing ip-fragmentation
How to reassemble TCP packets in Python?

How to reassemble TCP packets in Python? Is there any existing tools for this? Thanks! :-)

python tcp packet
Is it possible to use just 1 UDPSocket for sending/receiving on the same port?

I'm trying to send a DatagramPacket, and then must wait for an Acknowlegment from sever, so that I know if …

java networking udp packet datagram