Re: I/O streaming with custom data transport
- From: Simon Wright <simon@xxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 05:48:38 +0000
Maciej Sobczak <no.spam@xxxxxxxxxxx> writes:
But what about buffering the input/output. Is this already done
(where?) or is this something I have to take care of?
I would expect the OS to do this in most cases. However .. I have in
mind, for a work problem, using an alternate transport layer for a
message stream where we use GNAT.Sockets at present, and for that I
will have to do the buffering that the new transport requires
myself. The users will be unaware, though there will be an issue when
the stream is closed (the last buffer will have to be padded and
flushed). This sort of thing could be handled in a Close operation on
the new stream type. And of course there will have to be some means of
associating the new stream type with the underlying stream.
.
- References:
- I/O streaming with custom data transport
- From: Maciej Sobczak
- Re: I/O streaming with custom data transport
- From: Alex R. Mosteo
- Re: I/O streaming with custom data transport
- From: Maciej Sobczak
- Re: I/O streaming with custom data transport
- From: Alex R. Mosteo
- Re: I/O streaming with custom data transport
- From: Maciej Sobczak
- I/O streaming with custom data transport
- Prev by Date: Re: Extended 'Succ attribute?
- Next by Date: [ANNOUNCE] ada-AutoIT 0.5.2 Released
- Previous by thread: Re: I/O streaming with custom data transport
- Next by thread: Re: I/O streaming with custom data transport
- Index(es):
Relevant Pages
|