Skip to contentSkip to conversation

getting the local port on a socket

DISCUSSION Lee Chin 1 participant 1 message Sep 10, 2003

lore
Share & tools
lore

Lee Chin

author
#0 lore raw

Hi
How can I get the local port on a socket I just created? I do not want to bind this client socket to any port... I just want to know what port the system (kernel) will use when it sends packets out on this socket

Thanks
Lee

Signature · 12 lines
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs