• 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: UDP receiving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP receiving


  • Subject: Re: UDP receiving
  • From: Quinn <email@hidden>
  • Date: Mon, 22 Jul 2002 17:56:58 +0100

At 12:41 -0400 22/7/02, mike wrote:
How can I check how many bytes of information I've received into my input buffer when making a OTRcvUData call?

Either I've missed the point or the following should do the trick.

TUnitData udata;

... initialise udata ...
err = OTRcvUData(ep, &udata, &flags);
if (err == noErr) {
receivedBytes = udata.udata.len;
}

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: 
 >UDP receiving (From: mike <email@hidden>)

  • Prev by Date: UDP receiving
  • Next by Date: Re: Re(2): bsd sockets & http
  • Previous by thread: UDP receiving
  • Next by thread: Requesting use of NULL MODEM script from a USB modem
  • Index(es):
    • Date
    • Thread