From: ych43 <ych43@student.canterbury.ac.nz>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: TCP port numbers
Date: Mon, 01 Nov 2004 16:33:49 +1300 [thread overview]
Message-ID: <41838517@webmail> (raw)
Hi,
I got one question about unix socket functions. I have two machines (called A
and B). I use A to telnet B, get the root password of B. Is there any unix
socket function I can use to get the port number of A on B. Obviously, the
port number of B is 23. I want to use a socket function implemented on B to
get the port number of A because a TCP connection is established between them.
I greatly appreciate it if you help me. Thank you in advance.
Xue
next reply other threads:[~2004-11-01 3:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-01 3:33 ych43 [this message]
2004-11-01 10:39 ` TCP port numbers Jan Engelhardt
2004-11-01 12:38 ` Neil Horman
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=41838517@webmail \
--to=ych43@student.canterbury.ac.nz \
--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