Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-14-2008, 04:31 PM   #1
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.


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
Why the ata1 error messages occurred. UltraSoul Linux - Hardware 4 12-16-2006 05:02 AM
Error occurred while installing bootloader macastor Linux - Newbie 1 10-20-2006 06:14 AM
Error has occurred when I used apt-get update robin.w Linux - Software 1 09-11-2006 07:50 AM
An error occurred during the Installation Pedy SUSE / openSUSE 2 06-29-2006 03:39 AM
NETLINK SOCKET Error thegreatest Programming 2 12-15-2005 12:06 AM > Forums > Linux Forums > Linux - Software

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