• 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
TCP SYN packet not send after ARP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TCP SYN packet not send after ARP


  • Subject: TCP SYN packet not send after ARP
  • From: Remco Poelstra <email@hidden>
  • Date: Wed, 22 Dec 2010 10:37:06 +0100

Hi,

I'm using CFCreateSocketPairToHost to establish a TCP connection to another host.
A lot of times the connection failes with a timeout. The TCP system sends out an ARP request, which is answered by the device, but after the answer, the TCP SYN packet is never send. Currently I've solved the problem by reading the ARP cache and when the MAC address is missing, I perform a system("ping -t 1 <ip>");. I do not believe this is an elegant solution. How can I make sure that after the ARP, the connection is established?
I'm running an iOS App in the simulator on Snow Leopard (but on the actual device the same behaviour is reported).


Thanks in advance.

Kind regards,

Remco Poelstra
_______________________________________________
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:
    • Requirements to support Jumbo frames
      • From: "Sandeep Kumar" <email@hidden>
  • Prev by Date: Re: Simultaneous read() and write() on same TCP/IP socket
  • Next by Date: Requirements to support Jumbo frames
  • Previous by thread: Re: Simultaneous read() and write() on same TCP/IP socket
  • Next by thread: Requirements to support Jumbo frames
  • Index(es):
    • Date
    • Thread