Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!NUSDISCS.BITNET!TAYBENGH From: TAYBENGH@NUSDISCS.BITNET Newsgroups: comp.protocols.tcp-ip Subject: BSD getsockname() is broken in WIN/TCP for 3B4000??? Message-ID: <9011271626.AA13400@ucbvax.Berkeley.EDU> Date: 28 Nov 90 05:40:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 11 Hi, Hi, did anybody try to use BSD getsockname() b4? I tried very hard and cannot get it to work. It alswyas return -1, giving t_errno = 4, saying that socket operation on Non-socket. However, the same program I try it on Vax and Sun-3/Sun-4, all of them are working properly. I need this routine to tell what is actual port number return after binding the sock with port number 0. Thanks a lot. - Beng Hang Tay (email: taybengh@nusdiscs.bitnet)