Re: UDP receiving
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.