• 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: OT - IP_ADD_MEMBERSHIP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT - IP_ADD_MEMBERSHIP


  • Subject: Re: OT - IP_ADD_MEMBERSHIP
  • From: Vincent Lubet <email@hidden>
  • Date: Tue, 19 Nov 2002 12:00:41 -0800

On Tuesday, November 19, 2002, at 08:07 AM, Mark Hunt wrote:

More...

Just tried the same in Jaguar.

osstatus = setsockopt(gfd_udp, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mcast, sizeof(mcast));

fails too, but the error is -1 this time - much better ;-)

This is pretty much straight out of Stevens - what am I doing wrong?

It's difficult to say without having the error code from errno and not having a look at the code that sets mcast.

Vincent
_______________________________________________
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.

References: 
 >OT - IP_ADD_MEMBERSHIP (From: Mark Hunt <email@hidden>)

  • Prev by Date: OT - IP_ADD_MEMBERSHIP
  • Next by Date: Re: Why am I not getting per-thread errno? (was Re: Spurious EBADF?)
  • Previous by thread: OT - IP_ADD_MEMBERSHIP
  • Next by thread: OT - IP_ADD_MEMBERSHIP
  • Index(es):
    • Date
    • Thread