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
0
votes
1 answer

Extract the audio data from RTP packets

I have RTP packets and I use the pcap.net Packet Object. I need to get the actual audio data from the packet, without the RTP header - just the payload. Language: C# thnaks, Ofek
Ofek Agmon
  • 5,040
  • 14
  • 57
  • 101
0
votes
1 answer

Wireshark not displaying request packets

I am using Wireshark v1.8.3 on Windows 7 and I am sending a ping with cmd to see the packets on Wireshark. The reply packets are being displayed but the request packets are not being shown. Do I have some sort of filter which I need to remove? Any…
Tamara Caligari
  • 479
  • 3
  • 12
  • 28
0
votes
1 answer

How Data sent over network?

How the data is actually sent over the network. I know it is transmitted in Hex but is the raw hex equivalent for the data sent? I mean if i wanted to send a simple ASCII text "hello" , is the hex equivalent of 'h' 'e' 'l' 'l' 'o' is sent or does it…
george
  • 127
  • 2
  • 5
0
votes
2 answers

Reading Packet Data With libpcap

I'm working with pcap to monitor http requests and responses. I've setup pcap_loop and I'm getting packets in my callback function but I don't know how to read packets content. this is my callback function: void got_packet(u_char *args, const struct…
Abcd Efg
  • 2,146
  • 23
  • 41
0
votes
1 answer

how to send request through web service proxy as a single packet (don't chunk)

I'm trying to utilize a web service through C#. In the web service documentation it states that the web service only accepts requests as a single packet/stream and not multiple packets. Does anyone know how to change this setting when accessing the…
Steve
0
votes
1 answer

How to structure Packets for Client-Server communication

I have created my client-server application but there is still something confusing about the whole process. What is packets? and what is the difference between sending a packet and sending a message (like i normally do). So please, I expect a good…
Daniel Eugen
  • 2,712
  • 8
  • 33
  • 56
0
votes
3 answers

Decoding RTP packets G.729

I have a byte array with RTP packets in it. I am not using a SIP client, I just have the array. Is there an option to decode the packets in g.729 and then record the voice and save it into a WAV file?
Ofek Agmon
  • 5,040
  • 14
  • 57
  • 101
0
votes
1 answer

Decent Packet Tutorials for OBJ-C?

I want to learn more about sending and receiving packets with Obj C. I want to learn more about packet IDs and types. Any ideas on some easy tutorials apart from the Apple Documentation? Thanks guys! Note: I do have basic knowlage of how to send…
James Heald
  • 841
  • 1
  • 12
  • 33
0
votes
1 answer

Edit Incoming Packets On a Specific Port

I know there are various programs that sniff packets like WireShark, but I'm pretty sure you can only view the data. I want to know if it's possible to edit incoming packets. I'm not sure if packets are the right term. I just want to edit incoming…
43.52.4D.
  • 950
  • 6
  • 14
  • 28
0
votes
1 answer

JPCap - cant capture TCP packets

I'm trying to implement a network sniffer using JPCap library. The problem is, it is capturing only UDP packets of other nodes. The TCP packets are not being captured. (Actually TCP packets of my computer ONLY are being sniffed) This is the code I'm…
Shubham Saini
  • 738
  • 3
  • 8
  • 18
0
votes
1 answer

how to identify duplicate packets

When a host needs to resend a packet (whatever the payload), is there any field in the header that gets modified, so that you can tell that it is a duplicate packet?
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
0
votes
1 answer

Read TCP packets directly as hex

I have this System.Net.Sockets.TcpClient. I can make a connection and write packets to it accurately. The problem is want to read the packets as it is (as caught by sniffers in the hex form like 0F 03 56 56 etc.) I tried looking at examples of…
HooCraX
  • 3
  • 6
0
votes
1 answer

how to decode packet data, packet analysis

I need help for my project. I not good at this. here are my server receiver. this coding is done for the physical pc. basically this coding in physical pc is to receive the data packet from the virtual receiver. It works. but somehow i had problem…
Khein
  • 1
  • 1
  • 2
0
votes
2 answers

iSCSI data transport packet overhead

This question is admittedly overlapping with iSCSI Packet Header but I hope for a more specific answer than provided for that one for my more specific question. Question: How much overhead is introduced by iSCSI and SCSI in the transfer of the data…
Kevin Buchs
  • 2,520
  • 4
  • 36
  • 55
0
votes
1 answer

How can I distinguish "my" spoofed traffic from normal traffic?

I'm sending spoofed packets from a server to a client. My goal is to replay original traffic (say, traffic from google.com) from a different machine to the same host. Therefore a packet sent by my server will have the IP source address of whatever…
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185