🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1261

Re: NXPortNameLookup speed

#1261
From: Chris Lloyd
Date: Fri, 21 Aug 1992 15:27
17 lines
1345 bytes
In article <BtC3A1.2F5@monitor.com> howard@monitor.com (Howard Brenner) writes:
>Does anyone know a more efficient way of getting the port of a program  
>running on the network other than calling NXPortNameLookup("APPNAME","*")?   
>I find this to be a fairly slow call.

Avoid using the "*", it's a broadcast lookup on all the machines on your net,
and if your net is big it probably gets really slow.  This also means
that your lookups are affected by other machines response time to the lookup
and to the usual net timeouts blah blah blah.

Maintaining a list of hosts, or just doing local lookups would probably be
prudent at this juncture :)

la la la,
-- 
::   Christopher Lloyd  ::  a74k110@titan.ucc.umass.edu  ::  Yrrid, Inc.    ::
::"He said he'd make me elite for $5...I think he wanted a sub or somethin'"::
Technical Details
Message-ID: <1992Aug21.152741.2043@nic.umass.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!titan.ucc.umass.edu!a74k110
References: <BtC3A1.2F5@monitor.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!titan.ucc.umass.edu!a74k110
From: a74k110@titan.ucc.umass.edu (Chris Lloyd)
Subject: Re: NXPortNameLookup speed
Message-ID: <1992Aug21.152741.2043@nic.umass.edu>
Sender: usenet@nic.umass.edu (USENET News System)
Nntp-Posting-Host: titan.ucc.umass.edu
Organization: University of Massachusetts, Amherst
References: <BtC3A1.2F5@monitor.com>
Date: Fri, 21 Aug 1992 15:27:41 GMT
Lines: 17