Thread View: comp.sys.next.programmer
2 messages
2 total messages
Started by Howard Brenner
Fri, 21 Aug 1992 12:42
NXPortNameLookup speed
Author: Howard Brenner
Date: Fri, 21 Aug 1992 12:42
Date: Fri, 21 Aug 1992 12:42
5 lines
563 bytes
563 bytes
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.
thanks!
Re: NXPortNameLookup speed
Author: Chris Lloyd
Date: Fri, 21 Aug 1992 15:27
Date: Fri, 21 Aug 1992 15:27
17 lines
1345 bytes
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'"::
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads