Skip to contentSkip to conversation

libiptc and setsockopt

DISCUSSION Aaron Eppert 1 participant 1 message Dec 12, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

libiptc's iptc_commit(...) commit function appears to be erroring out on rather valid data in the portion that does a setsockopt() on SO_SET_REPLACE. The errno that is set appears to be EAGAIN. Can anyone shed a bit of light on the situation as to why this may happen. My application is (unfortunately) using pthreads and all calls to libiptc functions are wrapped with a mutex to prevent anyone from calling into the library twice as I noticed it is hardly thread safe.

Thank you for your time,

Aaron Eppert