LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  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



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
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 / openSUSE 2 06-29-2006 02:39 AM
NETLINK SOCKET Error thegreatest Programming 2 12-14-2005 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:28 PM.

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