Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 1996 21:00:23 -0700 (PDT)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libc/net rcmd.c
Message-ID:  <199605310400.VAA06956@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/05/30 21:00:22

  Modified:    lib/libc/net  rcmd.c
  Log:
  Use the setsockopt for IP_PORTRANGE to cause rresvport() to allocate a
  privileged port within a single bind(), rather than looping through
  attempts to bind over and over again over progressively lower ports.
  
  This should speed up rlogin/rsh etc, and will probably cure some of the
  strange rlogin hangs that have been reported in the past where rresvport()
  managed to bind() to a port address that it shouldn't have.
  
  Revision  Changes    Path
  1.8       +24 -12    src/lib/libc/net/rcmd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605310400.VAA06956>