[JDEV] Finding the client port from an MIO socket
Robert Norris
rob at nauseum.org
Sun Jun 10 20:49:59 CDT 2001
I'm messing with MIO, and on thing I haven't been able to do is find the
remote port of a connection after it has been accepted (in the callback
passed to mio_listen).
Is there an easy way to do this (perhaps via PTH), or am I just going to
have to do all the normal sockaddr, htons, etc stuff that gets done with
"normal" IO? (the details slip my mind, perhaps time to track down my copy
of Stevens).
Ta,
Rob.
--
Robert Norris <rob at nauseum.org>
1024D/FC18E6C2 6FBF 098A A3F2 A728 490F 7743 59BD 7767 FC18 E6C2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010611/63cd29ca/attachment-0002.pgp>
More information about the JDev
mailing list