[Bug 19493] socket option IP_PKTINFO is not implemented

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 10 18:47:59 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=19493

--- Comment #7 from johannes.gajdosik at gmx.at 2010-10-10 18:47:57 CDT ---
> Usually when
> MSDN says something is not supported it's accurate, apparently that is not the
> case for this particular feature.

You probably refer to
http://msdn.microsoft.com/en-us/library/ms738586%28VS.85%29.aspx where in the
line IP_PKTINFO there is no "yes" in the column "Set". I assume this is a typo,
because:
1) setsockopt works fine with IP_PKTINFO, at least in version Windows XP, as
proved by my test program
2) Because the description "Indicates that packet information _should_  _be_
returned in the WSARecvMsg function" makes sense only for setsockopt. When only
getsockopt would be working with IP_PKTINFO, the description should be:
"Indicates that packet information _is_ returned in the WSARecvMsg function".

> I apologize if I have offended you here

No offense is done.

> occasionally there are reports of
> things working on Windows that are not quite accurate.

I can assure you that my test program worked fine in WindowsXP, and the actual
application that uses setsockopt with IP_PKTINFO still works fine in WindowsXP.

> What I was getting at
> here is that it would be nice to have an application that supports this feature
> to list on the bug report.  Having that information when I submit the patch I
> can then say "this patch fixes Bug #19493, which affects applications X, Y, and
> Z."

I cannot help here, since the actual application is a commercial product of the
company I am working for, and it is not adequate for public use.

> Since I am familiar with this functionality, and the fix for this is rather
> trivial, I will look into writing a patch to get this feature implemented and
> show its validity with the automated test system.

This would be very nice, thank you! I am neigther familiar with wine code, nor
with the automatic test system, this is the reason why I did not produce a
patch by myself. Perhaps my test program can be used for the automatic test
system.


> I cannot guarantee that I
> will be able to get such a patch accepted any time soon (or ever), but I will
> do my best to get this fixed for you.

Thanks again!

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list