By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,260 Members | 1,468 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,260 IT Pros & Developers. It's quick & easy.

A question of socket programming

P: n/a
I'm programming socket in Linux enviromnet.

In the server side, when I want to bind a socket with any available
port(by set sin_port to 0), I want to know how can I get to know which
port is exactly used?

Thanks~

Jun 1 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
fa*****@gmail.com wrote:
I'm programming socket in Linux enviromnet.

In the server side, when I want to bind a socket with any available
port(by set sin_port to 0), I want to know how can I get to know which
port is exactly used?
I believe the newsgroup you were looking for actually belongs to the
'comp.os.linux.development.*' family.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 1 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.