From: Andrew Haley <aph@redhat.com>
To: "Patrick Schäfer" <ps@ekse.de>
Cc: java@gcc.gnu.org
Subject: Re: Compiling project using apache mina fails
Date: Mon, 08 Jun 2009 20:23:00 -0000 [thread overview]
Message-ID: <4A2D731F.3060406@redhat.com> (raw)
In-Reply-To: <9F97E146-6308-4332-9C72-662BD3292DBE@ekse.de>
Patrick Schäfer wrote:
>>>
>> If I had a way to look at what was happening I'd just have a look.
> thank you for helping again!
>
>> I don't know what class the Socket belongs to. At the call to
>> Socket.getLocalSocketAddress, do something like
>>
>> println(socket)
>> println(socket.getClass())
>
> those two calls result in:
>
> println(socket) => gnu.java.nio.NIOSocket@6cff840
> [addr=/10.0.1.194,port=4711,localport=-1]
> println(socket.getClass()) => class gnu.java.nio.NIOSocket
>
> The foreign port and ip-address have been set correctly. but the
> localport is definitely wrong.
> The connection is established on the other machine though. maybe this
> port is not stored inside NIOSocket?
Could be. OK, I now have a better idea what's happening. I'll have a
look tomorrow.
Andrew.
prev parent reply other threads:[~2009-06-08 20:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 14:38 Patrick Schäfer
2009-06-05 15:31 ` Andrew Haley
2009-06-07 18:32 ` Patrick Schäfer
2009-06-08 10:05 ` Andrew Haley
2009-06-08 19:26 ` Patrick Schäfer
2009-06-08 20:23 ` Andrew Haley [this message]
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=4A2D731F.3060406@redhat.com \
--to=aph@redhat.com \
--cc=java@gcc.gnu.org \
--cc=ps@ekse.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).