Hi
I know that when bind()ing I can pass a sockaddr struct with the sin_port
field set to 0, so that the OS can choose a suitable free port for me. How
I can I then find out what port was chosen?
cheers
dave
I know that when bind()ing I can pass a sockaddr struct with the sin_port
field set to 0, so that the OS can choose a suitable free port for me. How
I can I then find out what port was chosen?
cheers
dave
--
--
/"\ m i k e b u r r e l l
X AGAINST HTML MAIL,
/ \ AND NEWS TOO, dammit
Hi,
Please help me! How can I find out a clients port number in unix C
programming once a connection is established? I know how to get their
address, but how do I find out what port the client will receive data
in? Thanks!
Andre
2. Amiga LINUX
3. why could not I found my port number?
4. ExpertColor MED3700 And OSS/Linux
7. Finding out port numbers with BSD Sockets.
9. How to find the port number a process uses?
10. How do you find the port number of a socket?
11. Finding a socket's local port number
12. Flexfax -- "Can not find port number for 'fax' service" -- ???
13. How do i find out which port numbers a specific application is using on my computer ?