LinuxQuestions.org
Help answer threads with 0 replies.
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 08-05-2007, 12:52 AM   #1
prabhakar_kushwaha
LQ Newbie
 
Registered: Oct 2005
Location: New Delhi
Posts: 26

Rep: Reputation: 15
bind:cannot allocate memoey


Hi,

i am running a supplicant(open source). In this i am creating a netlink socket. after creation of socket when i am binding that socket with address. is shows following error

bind:cannt allocate memory.

i had my own protocol for netlink socket creation.
s=(PF_NETLINK,SOCK_RAW,NETLINK_XYZ);


but if i use following netlink socket it works fie
s=(PF_NETLINK,SOCK_RAW,NETLINK_ROUTE);


PROBLEM IS AT BINDING TIME NOT DURING SOCKET CREATION.


i am using linux - 2.6.16. can you tell me why this is happening.


Thanks
Prabhakar
 
Old 08-14-2007, 12:50 AM   #2
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
You should be more specific when you ask questions like these. What programming language are you using? What library are you working with? Also, I don't know what a supplicant is, so I can't help you there, either
 
  


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
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM
How to update BIND ./etc/bind/db.coaxcables AndeAnderson Debian 0 03-03-2006 09:35 AM
Cannot allocate memory Terroth Linux - General 13 02-09-2005 05:22 AM
allocate more memory? sockknitter Debian 3 11-06-2004 05:23 PM
How should I allocate my drive? silvertondevil Linux - Newbie 7 01-03-2004 03:20 AM

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

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