Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!bionet!agate!ucbvax!NUSDISCS.BITNET!TAYBENGH From: TAYBENGH@NUSDISCS.BITNET Newsgroups: comp.protocols.tcp-ip Subject: how to get the local port# assigned without using getsockname() Message-ID: <9011271933.AA18467@ucbvax.Berkeley.EDU> Date: 28 Nov 90 07:10:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 10 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)