home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / networks / tcpip / multinet / 2395 < prev    next >
Encoding:
Text File  |  1992-11-20  |  2.0 KB  |  49 lines

  1. X-Gateway-Source-Info: INTERNET
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!mvb.saic.com!tgv.com!info-multinet
  3. Date: 20 NOV 92 21:04:43 GMT
  4. Newsgroups: vmsnet.networks.tcp-ip.multinet
  5. X-Return-path: <info-multinet-relay@TGV.COM>
  6. X-NUPop-Charset: English
  7. X-RFC822-From: (Matt Nowotny) <cir_jmn@vax1.utulsa.edu>
  8. From: <cir_jmn@vax1.utulsa.edu>
  9. Subject: RE:How can I get a free port number?
  10. Organization: The INFO-MULTINET Community
  11. Message-ID: <36A00FB320NOV92210443@TGV.COM>
  12. Nntp-Posting-Host: Mvb.Saic.Com
  13. Lines: 34
  14.  
  15. In Message 11 Nov 1992 04:14 PST,
  16.   rtm@tacos.caltech.edu (Raoul Machilvich) writes:
  17.  
  18. >Hi,
  19. >
  20. >    I am running Multinet 3.0 Rev. A.   I was wondering if anyone could help
  21. >me with the following problem.
  22. >
  23. >    I have a computer which is booted via TCP from a VMS VAX.   For reasons that
  24. >are long and boring, I must supply the remote computer with the number of
  25. >an unused TCP/IP port.   This port must not be in use, in any state, at
  26. >the time the computer boots.   Is there any call or combination of calls
  27. >that I could make to the Multinet subroutine library that would report to
  28. >me an unused, or free, port number?   Alternatively, I could just sequentially
  29. >try port numbers if I knew of a subroutine that would tell me if a port
  30. >was in use (it must not even be in a time-out or fin_wait state).   I'm
  31. >currently using a subroutine that examines the output of the
  32. >MULTINET SHOW/CONN command, and finds a free port by brute force, but
  33. >this is apt to win me few points for either elegance or efficiency.
  34. >
  35. >       Thanks
  36. >       Taco (*)
  37. >       rtm@tacos.caltech.edu
  38. >
  39. >(*) The most irresponsible hiker Mark "Dolson" has ever known.
  40.  
  41. How about mu config/server and list the ports that you have configured?  I
  42. know, it's not a lot better than your idea.
  43. =======================================================================
  44. Matt Nowotny                                    CIR_JMN@VAX1.UTULSA.EDU
  45. University of Tulsa - CIR
  46. Zink Hall Rm.136
  47. 918-631-2366
  48. 
  49.