• 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: Mon, 4 Feb 2002 00:33:06 +0100

Hi Mike,

On Mon, 4 Feb, 2002, Mike Kluev <email@hidden> wrote:

>On 3/2/02 9:09, Jens Bauer <email@hidden> wrote:
>> Ehm, if you send 0 bytes, why call OTSnd ? :)
>> -Would you ever need to send 0 bytes with T_MORE set ? :)
>
>Some providers allow to send zero-length packet. This is usefull
>when you've already sent packet with T_MORE flag set, but it
>happend that you have no more data to send, so you send another
>zero-length packet with T_MORE flag cleared. Or you just want
>T_DATA to happen at remote side without sending any data. Agree,
>this is rarely used.

I never thought of that. Ofcourse, you should try designing your
application so it doesn't need that; if possible. I never needed to send
zero-length packages myself, so unfortunately, I don't have the answer to
this question.

About OT vs. BSD sockets, I'd really hate using fork() to replace the
notifier. I don't believe it would be possible to make threads run faster
than an interrupt. (My personal opinion; I grew up with interrupts)


Love,
Jens

--
Jens Bauer, Faster Software.


  • Follow-Ups:
    • Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
      • From: Vincent Lubet <email@hidden>
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: OpenTransport: Listening on more than one port.
  • Previous by thread: Re: [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Next by thread: Re: Re(2): [Repost] OTCountFreeBytes? (like OTCountDataBytes but for send)
  • Index(es):
    • Date
    • Thread