• 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: Question about Endpoints and data chunk sizes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Endpoints and data chunk sizes


  • Subject: Re: Question about Endpoints and data chunk sizes
  • From: Quinn <email@hidden>
  • Date: Tue, 13 Jan 2004 13:25:12 +0000

At 17:33 -0600 12/1/04, Chilton Webb wrote:
I'm rewriting some BSD work I've done in OpenTransport, and was pretty sure I knew what I was doing until I tried this...

OTGetEndpointInfo(ep,&info);
sprintf(s,"size is %d", info.tsdu);

That returns '0' as the size. Isn't it supposed to be the standard data unit size for transmission? Does 0 mean unlimited or something? Is there some infernal typo in those two lines I'm just flat missing?

The following page is the first when you search Apple's developer web site for "tsdu".

<http://developer.apple.com/documentation/mac/NetworkingOT/NetworkingWOT-136.html>

For a transactionless endpoint, a positive value indicates
the maximum number of bytes in a transport service data unit
(TSDU) for this endpoint. A value of T_INFINITE (-1) indicates
that there is no limit to the size of a TSDU. A value of 0
indicates that the provider does not support the concept of a
TSDU. This means that you cannot send data with logical
boundaries preserved across a connection.

TCP returns 0 because it's a streaming protocol and doesn't allow you to preserve logical packet boundaries in the stream.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Question about Endpoints and data chunk sizes (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Basic Question: Internet Content Filter
  • Next by Date: AirPort drivers - IOClass names and keys
  • Previous by thread: Question about Endpoints and data chunk sizes
  • Next by thread: Socket owner
  • Index(es):
    • Date
    • Thread