Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-09-2007, 08:22 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Failure in sock_sendmsg


Hai i am doing a research in networking. I have a code for 2.4 kernel. I am porting this to 2.6. I am using sock_sendmsg for sending the packet. I can able to send an unicast packet using sock_sendmsg.But not able to send a broadcast packet.In 2.4 The struct socket having the broadcast bit like below


And it is having the ttl in the protinfo structure like below.


For compilation i have commented this. I am suspecting this will be the problem for failure of sock_sendmsg. It is is returning -13. For unicast packet it is working perfectly.
Anybody Help plz.......... Thanks



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
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
Is sock_sendmsg MP safe gsreekanth1 Linux - Networking 0 07-05-2005 01:27 AM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 01:06 PM
Failure on First Try downinthemine Slackware - Installation 3 12-18-2003 12:12 PM
GL failure pixelV Linux - Hardware 4 03-10-2003 11:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 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