• 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: SCTP. V4 v. V6 addresses...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCTP. V4 v. V6 addresses...


  • Subject: Re: SCTP. V4 v. V6 addresses...
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 2 Aug 2010 10:18:56 +0100

On 1 Aug 2010, at 10:19, J P May wrote:

> IN WHAT SITUATIONS would you get to "point A" in the code above?

On my Mac, which is a relatively stock setup, I get this pretty much every time.  I downloaded the latest UDPEcho from the web site, modified it to log "Point A" when it hits point A, and then ran it as follows:

1. In one Terminal window, start UPDEcho in listen mode:

> $ build/Debug/UDPEcho -l 12345

2. In another Terminal window on the same Mac, start it in send mode:

> $ build/Debug/UDPEcho localhost 12345


Both the listener and the sender log point A.

This happens because the listen listens on IPv4 and IPv6 simultaneously.  I verify this with netstat:

> $ netstat -an | grep 12345
> udp46      0      0  *.12345                *.*


Note that it says "udp46", not "udp4" or "udp6".

You don't, perchance, have IPv6 disabled on your machine?

> {Of course, iPhones have no IP6 if I understand the situation correctly.}

iOS 4 supports IPv6 in much the same way as Mac OS X does.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
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

  • Follow-Ups:
    • Re: SCTP. V4 v. V6 addresses... / comparing identies
      • From: J P May <email@hidden>
References: 
 >Re: iphone to mac .. UDP Woes .. (From: Andreas Fink <email@hidden>)
 >SCTP. V4 v. V6 addresses... (From: J P May <email@hidden>)

  • Prev by Date: SCTP. V4 v. V6 addresses...
  • Next by Date: Re: SCTP. V4 v. V6 addresses... / comparing identies
  • Previous by thread: SCTP. V4 v. V6 addresses...
  • Next by thread: Re: SCTP. V4 v. V6 addresses... / comparing identies
  • Index(es):
    • Date
    • Thread