Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-05-2008, 07:49 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
how can use libpcap to send packets,just like winpcap do?

how can use libpcap to send packets,just like winpcap do?
Old 06-05-2008, 11:43 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You probably want to look at using pcap_inject() or pcap_sendpacket(). I've never used these functions myself, as I've only used libpcap for capturing packets.


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
How do I send WOL packets ? Bobymc Linux - Software 2 06-11-2006 09:01 PM
dropping and forwarding packets using libpcap escorp Linux - Networking 2 04-08-2006 08:18 PM
Can't sniff packets using libpcap masterm Linux - Networking 0 05-17-2005 05:58 PM
how can i use libpcap to capture packets for the local loopback interface (lo) ? gajaykrishnan Programming 0 02-22-2005 04:03 AM
send packets at network Jamesminh Linux - Networking 0 10-01-2004 02:38 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:27 PM.

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