TCP SYN packet not send after ARP
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