• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Basic networking question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic networking question


  • Subject: Re: Basic networking question
  • From: Justin Walker <email@hidden>
  • Date: Tue, 10 May 2005 19:22:24 -0700


On May 10, 2005, at 15:34, Alex Kettner wrote:

Hi,

I would like to be able to send and receive some data over the network. The data size can be very small < 1K. The functionality is basically to broadcast an application's existence once it starts up and receive like packets of data from the network from other copies of the same application. Does this make sense? Can anyone either describe the necessary steps to do this or direct me to some good sources of information. I am a novice at network issues.

For networking advice, from the very basic to the more sophisticated, and for good examples of how to implement various algorithms (such as the one you mention), I always turn to the book "Unix Network Programming, V1", by W. Richard Stevens. The 2nd Ed. is somewhat out of date, but still a good bet. I have heard good things about the 3rd Ed., significantly updated by others (Stevens died several years ago), although I've not looked at it.


For the impatient, check out his website, <http://www.kohala.com> and follow the links there. It has a batch of code that "should work", although there may a few gotchas in some areas (simple to repair; and we can answer specific questions).

The code includes some client/server examples that do roughly what you want.

From there, you can graduate to higher levels, like RendezvousXXXXXXXXXXXXBonjour or one of many "RPC" varieties.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
If you're not confused,
You're not paying attention
--------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Basic networking question (From: Alex Kettner <email@hidden>)

  • Prev by Date: Re: Basic networking question
  • Next by Date: Re: Basic networking question
  • Previous by thread: Re: Basic networking question
  • Next by thread: Re: confirm 4ce76261c1fcd0c58128a484a402984b3247d455
  • Index(es):
    • Date
    • Thread