Questions tagged [packets]

Packets refer to network packets. A network packet is a formatted unit of data carried by a packet-switched network.

A network packet is a formatted unit of data carried by a packet-switched network.

A packet consists of control information and user data, which is also known as the payload. Control information provides data for delivering the payload, for example: source and destination network addresses, error detection codes, and sequencing information. Typically, control information is found in packet headers and trailers.

Use this tag for programming questions related to packet creation, packets contents analysis, packet sending and receiving, or other tasks that can be done with network packets.

Source: Wikipedia

372 questions
-1
votes
1 answer

Dropping Networking packets by a router

I have a quick question. If a TCP connection between two host is established and negotiated for ECN, then the sender will be notified of any network congestion by the receiver. In case if ECN is not negotiated and a packet is dropped by a…
user1762571
  • 1,888
  • 7
  • 28
  • 47
-1
votes
2 answers

what is the maximum number of packets that can be received?

I am developing a P2P application which I am making it scalable to tens of millions of users. I am broadcasting a packet to each of these other peers and expecting a response. Before I go ahead with my coding I wanted to confirm if I can send a…
S. Swaroop
  • 411
  • 1
  • 6
  • 17
-2
votes
3 answers

Sending recorded packets

is there a library or a class that would allow me to record on going packets from my computer (which is done on tools such as ETHEREAL[WIRESHARK] & WPE PRO(if you happen to be a gamer). To then resend it on a loop. I'm trying to make a service that…
F.Saad
  • 53
  • 1
  • 4
-2
votes
1 answer

Packet Structure at Each Layer of Stack Wireshark

Ive recently been given a networks assignment but i'm stuck with no idea how to complete it. The assignment is to use wireshark to identify the exact structure of the packets at each of the layers?? Showing addressing at different layers, purpose of…
-2
votes
1 answer

How to open a pcap file using SharpPcap

im making a c# packet analyzer that would open a pcap file which was created by wireshark...and load the packets into the graphical list.soo,how can i make sharppcap parse the file and show the packets(even in a console window) thanks
SteppeHawk
  • 15
  • 1
  • 7
-2
votes
2 answers

How to create a packet in C#

I always wondered how could a game generate a packet like this: 22 00 11 00 6D 79 75 73 65 72 6E 61 6D 65 00 00 00 00 00 00 6D 79 70 61 73 73 77 6F 72 64 00 00 00 00 00 00 LENGTH-HEADER-USERNAME-PASSWORD In the game code what should be their…
Daniel Eugen
  • 2,712
  • 8
  • 33
  • 56
-3
votes
3 answers

Missing/Dropping packets when using Java Client to read over TCP

I'm changing a C++ client to a Java version - just an exercise I'm trying more than anything else. The orginal C++ code works perfectly well. The Servce side sends a DWORD then the client looks for this then reads the 253 bytes of data. I've tried…
Mark
  • 3
  • 2
-3
votes
2 answers

How to deal with byte operators in Golang?

I would like to create a buffer which will contain information like nickname and password. Let's say I have created empty buffer, which is 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 By then I would like to fill it up with data,…
-3
votes
1 answer

packets compared to frames (osi)

This is my first question here so sorry if something isn't pretty or badly written. but i've been learning about the osi model for some time now and i can't find a good indepth explanation about frames (in the data-link layer) and what is the…
Shraga
  • 67
  • 1
  • 8
-4
votes
1 answer

Internet socket programming in c++ explanation needed

I have two computers, and I have created a network between them, One is server (Windows Server OS) and the client (Windows 10). Both computer also has connection to internet through wifi. To connect two Systems I am using Ethernet Cable I like to…
user786
  • 3,902
  • 4
  • 40
  • 72
-4
votes
1 answer

How to generate 8 byte hex value?

I want to generate this sequential data in C: data_packet[1] = 0706050403020100 (seed_value) next data_packet[2] = 0f0e0d0c0b0a0908 Next will be the next 8 hexadecimal characters and so on for say 100 bytes. How can I do it? Can we do it using…
Unicorn
  • 293
  • 1
  • 4
  • 12
-5
votes
1 answer

Multiple Thread Processing

I have few packets of data as below, 00 FF FF 00 00 08 00 64 00 **07** 08 FC 09 90 07 09 00 FF FF 00 00 08 00 64 00 **04** 08 0B 07 E3 0A 0B 00 FF FF 00 00 08 00 64 00 **07** 09 25 09 C0 0B C7 00 FF FF 00 00 08 00 64 00 **04** 08 13 07 E3 0A…
mng
  • 3
  • 2
1 2 3
24
25