While working on some UDP-related issues a while back, I looked into this a bit. IIRC, I found that there is no way to do this (and intentionally so) from the conn_rec. The socket itself is accessible, but not in the public API (and possibly not in a platform independent manner either).
Issac Tyler MacDonald wrote: > Hi, > > Given a connection record, how do I determine what listener > originally accepted the connection? I've dug around the API documentation a > bit and can't find a clear path back to my listener from a connection, but > it would sure be nice to know, for example, what protocol was assigned to a > listener that dispatched my conn_rec... > > TIA, > Tyler
