public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
To: erikd@lithtech.COM (Erik De Bonte)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Determining IP:port corresponding to an ICMP port unreachable
Date: Wed, 1 Aug 2001 02:53:01 -2000 (MSD)	[thread overview]
Message-ID: <200107312253.CAA00475@mops.inr.ac.ru> (raw)
In-Reply-To: <AF020C5FC551DD43A4958A679EA16A1501349560@mailcluster.lith.com> from "Erik De Bonte" at Jul 31, 1 11:15:03 pm

Hello!

> >From my original message: "I'm able to retrieve the IP via recvmsg with the
> MSG_ERRQUEUE flag (and the IP_RECVERR sockopt), but the port that it gives
> me is bogus."

Sigh, please, send sample yet. It works here by some strange reason,
apparently, my applet is buggy. :-)


> extract the port and give it to me?  It's obviously possible, since Winsock
> does it.**

Well, better ask those brave MS folks why they did this. :-) 

Actually, please, check this again: I was not aware that nt posix env
break bsd api in such wicked way. This can be useful as a strong argument
in some curcumstances.

Alexey

  parent reply	other threads:[~2001-08-01 16:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31 19:03 Determining IP:port corresponding to an ICMP port unreachable Erik De Bonte
2001-07-31 19:20 ` Nadav Har'El
2001-08-01 22:53 ` Alexey Kuznetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-30 23:08 Erik De Bonte
2001-07-31  8:11 ` Nadav Har'El
2001-07-31 16:41   ` Philippe Troin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200107312253.CAA00475@mops.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=erikd@lithtech.COM \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox