Re: File access questions
Kyle Sluder <[email protected]> Wed, 16 Nov 2011 13:07:36 -0800
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <CANEs-cx2+iXWa5MWrChwYQ+agA5uJ2Dg6fOW-F9dX2Jd5bSq+w@mail.gmail.com> |
On Wed, Nov 16, 2011 at 12:52 PM, Nathan Sims <[email protected]> wrote: > Hmm, isn't SOCK_SEQPACKET connection-oriented? If I use SOCK_DGRAM instead wouldn't that be a lot easier and lighter-weight, not having connections? I was going to do: Yes, but it guarantees order. If you're including your own timestamps in the datagrams, then you can use SOCK_DGRAM and reorder them yourself. --Kyle Sluder