LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2010, 12:09 PM   #1
zxf
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Unhappy Using raw socket in wireless link


Hi,

I would like to use raw socket in layer 2 in Linux.

I tried socket(AF_PACKET, SOCK_RAW, ntohs(ETH_P_ALL)), and I can send packets over Ethernet wired link but nothing over 802.11 wireless link.

There are lots of introduction about raw socket but I didn't find any using wireless link.

Who can give me a hand ?

Thanks a lot
 
  


Reply



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
Raw socket programming with C arabindav Programming 17 06-09-2011 11:58 AM
raw socket/ip packet help shouup Programming 14 04-24-2006 04:54 PM
Socket Raw linuxanswer Programming 1 04-01-2004 09:43 PM
ping without raw socket linuxnw Linux - Networking 3 12-09-2003 11:57 PM
raw ipv6 socket example Steave Programming 0 06-27-2003 03:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration