Re: UDP max packet size
Re: UDP max packet size
- Subject: Re: UDP max packet size
- From: Jonathon Kuo <email@hidden>
- Date: Tue, 16 Nov 2010 11:58:41 -0800
Well, I can't exactly spill the beans, but it's for a near-real-time system, and the participants in this system need to be able to send back some datasets that are too large for UDP packets, 100kb, so it looks like I'll need to open up a return TCP connection. That complicates things a bit, but should be doable, I hope.
On Nov 16, 2010, at 11:22 AM, JP May wrote:
> WHAT IS IT YOU ARE TRYING TO ACHIEVE?
>
> really fast real-time communication of telemetry? large files being transferred?
>
> remote imagery?
>
> Or?
>
> pls let us know, it has been torture not knowing.
>
>
>
>> Thanks everyone. I guess the fragmentation issue kills it for me. So, would the following be possible?
> I connect from one iPhone to another using Bonjour over a UDP socket. The receiving iPhone then uses the originator ethernet address in sockaddr.sin_addr and opens up a TCP/IP connection back to the originator.
> 1. I'm guessing I can't reuse the original UDP socket, but need to create an entirely new socket/connection.
> 2. What port do I use to communicate back? The originator will have a thread waiting on INADDR_ANY, but what port do I use? How does one open a port on an iPhone?
> 3. Will this even work???
> Thanks!
>
>
>
>>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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