A question of socket programming

F

fankaiz

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~
 
V

Victor Bazarov

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top