• 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(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)


  • Subject: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • From: Jens Bauer <email@hidden>
  • Date: Sat, 2 Feb 2002 16:48:47 +0100

Hi Mike,

On Sat, 2 Feb, 2002, Mike Kluev <email@hidden> wrote:

>On 2/2/02 9:11, Quinn <email@hidden> wrote:
>
>>...
>> Our long term goal is
>> for developers to use the OT API only if they need to support both 9
>> and X, and to use one of X's many alternative networking APIs if they
>> have an X-only product.
>
>That does mean that OT is diying (thus the change of the list name)?

Not really. The change was because there are other ways of doing network
programming under Mac OS X.
-For instance, it's easier building a synchronous+blocking "HTTP
downloader" than with Open Transport, but making a more advanced program
would require some "getting used to" for the BSD sockets.

>>>>> 8. If result = 0
>>>>> (BTW, could it ever happen? If bytes sent <> 0?
>>>>> If bytes sent = 0?) treat it as (3) (or 2?)
>>
>> Treat it as 3).
>
>(3 was partial success).
>What if I send 0 bytes? (could I?) Will it be success or partial
>success then?

Ehm, if you send 0 bytes, why call OTSnd ? :)
-Would you ever need to send 0 bytes with T_MORE set ? :)

>Thanks for your explanation.


Love,
Jens

--
Jens Bauer, Faster Software.


References: 
 >Re: [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send) (From: Mike Kluev <email@hidden>)

  • Prev by Date: Re: [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Next by Date: Internet Connect in Mac OS X clobbers other software that uses modem
  • Previous by thread: Re: [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Next by thread: Re: [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Index(es):
    • Date
    • Thread