LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-08-2004, 03:44 AM   #1
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
help tcpdump


I wrote a very simple program sending udp packet. As follows:
===============================================
packet[0]=0x05;
packet[1]=0x06;
packet[2]=0x07;

sendto(sockfd, packet, 3, 0, &destAddr, sizeof(struct sockaddr) );
===============================================

how do I use tcpdump to display the content of the packet:

ie. 050607
 
Old 10-08-2004, 07:07 AM   #2
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Hmm.
man tcpdump
option -x (for example)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
10.1 and tcpdump pr0nd3xtr Slackware - Installation 0 03-09-2005 03:37 PM
tcpdump telestudent Linux - Software 1 03-03-2005 10:07 PM
tcpdump dlm4444 Linux - Networking 1 02-15-2004 03:03 PM
tcpdump gbell72 Linux - Security 5 09-18-2003 02:08 PM
tcpdump isbrower Linux - Networking 2 06-11-2001 03:48 PM


All times are GMT -5. The time now is 02:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration