[comp.protocols.tcp-ip] how to get the local port# assigned without using getsockname

TAYBENGH@NUSDISCS.BITNET (11/28/90)

Hi Netlander,
        I am doing socket programming on WIN/TCP for 3B4000. I would like
to know how to get back the local port number assigned by system WITHOUT
using getsockname(). The getsockname() in WIN/TCP seems NOT working.
I need to know the local port number assigned after bind() with port 0.
Please reply to me. I am desparate for this.
        Thanks.

- Beng Hang Tay (email: taybengh@nusdiscs)