LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-14-2008, 03:31 PM   #1
hyper9
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Angry Error occurred while using netlink..


At first, I brought some codes which are related the error I had.

status = recvmsg(fd, &msg, 0);
h = (struct nlmsghdr *)buf;
if(h->nlmsg_type == NLMSG_ERROR)
{
struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(h);
errno = -err->error;
printf("errno = %s \n", strerror(errno));
}

After receiving packets through recvmsg, nlmsg_type was NLMSG_ERROR
which is the case above in if condition.
And errno which is printed above, was "File Exists".

I don't understand this two things. Especially, what does this "File
Exists" means while using netlink?

Hope to hear some recommendation.
Thanks in advance.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why the ata1 error messages occurred. UltraSoul Linux - Hardware 4 12-16-2006 04:02 AM
Error occurred while installing bootloader macastor Linux - Newbie 1 10-20-2006 05:14 AM
Error has occurred when I used apt-get update robin.w Linux - Software 1 09-11-2006 06:50 AM
An error occurred during the Installation Pedy Suse/Novell 2 06-29-2006 02:39 AM
NETLINK SOCKET Error thegreatest Programming 2 12-14-2005 11:06 PM


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