Re: Socket bind failing with error -98

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Suraj Choudhari писал 2017-02-07 09:47:

I am facing a problem while binding to TCP socket using bind()
function,  the problem is see for kernel versions >= 4.4.

The bind() function is failing with error code -98.

Currently i am calling bind() through a kernel thread.

I searched similar errors and tried with 'setsockopt' with
'SO_REUSEADDR' and 'SO_REUSEPORT ' flags.

However, bind() still continues to fail with similar error.

Can you please suggest if there are any other ways to fix it or any
particular debugging we shall do to analyze it ?
May be you can show some code to us?

--
D
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux