Re: Help
Re: Help
- Subject: Re: Help
- From: Chris Hanson <email@hidden>
- Date: Wed, 3 Jul 2002 15:22:53 -0500
At 8:33 AM +0000 7/3/02, kamal kumar kalra wrote:
I've to develop a client/server program using TCP/IP,
in which a client can see the list of all server listening at a
particular port.
Please try to select a more descriptive subject line. "Help" does
not tell us anything about what you need help with.
TCP/IP doesn't natively support the concept of name lookup.
Hopefully you knew that already when working on the specification for
this project.
You need to use something like the IETF's Service Location Protocol
on both clients and servers. Servers can use SLP to advertise URLs
to services they export, while clients can use SLP to look URLs to
services on local or non-local networks.
On the Mac OS, SLP is supported by the Network Services Location
Manager (NSL). You should be able to use the NSL programming
interfaces in both your server and your clients to do what you need.
-- Chris
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.