Re: sending a stream in memory over TFTP

From: David Schwartz (davids_at_webmaster.com)
Date: 03/21/05


Date: Mon, 21 Mar 2005 13:26:19 -0800


"Mihai Osian" <zzz@zzz.com> wrote in message
news:1111416188.682691@seven.kulnet.kuleuven.ac.be...

> IDOIT.IEF@gmail.com wrote:

>>Hi All
>>I'm working on a programming project and i need a way to send a stream
>>of data in the memory over TFTP but WITHOUT writing the stream on the
>>hard disk
>>The question is (in another way) a need to make a file handle on my
>>stream of data in the memory so i can pass it to the TFTP client
>>WITHOUT writing it to the hard disk
>>i don't know if this is the right place to ask, so please lead me to
>>the right plase if it wasn't, and sorry
>>Thanks in advance
>>IDOIT

> Go to http://www.advancedlinuxprogramming.com/alp-folder, chapter 5 -
> Interprocess communication. Look for "Pipes".
>
> Mihai

    I doubt that will work. If the TFTP client tries to seek on or determine
the size of the pipe, it will get incorrect information or errors. You'll
probably either need to write a TFTP client that knows how to send data from
memory or use a real memory file system.

    DS



Relevant Pages

  • Re: sending a stream in memory over TFTP
    ... >I'm working on a programming project and i need a way to send a stream ... >of data in the memory over TFTP but WITHOUT writing the stream on the ...
    (comp.os.linux.networking)
  • sending a stream in memory over TFTP
    ... I'm working on a programming project and i need a way to send a stream ... of data in the memory over TFTP but WITHOUT writing the stream on the ... WITHOUT writing it to the hard disk ...
    (comp.os.linux.networking)
  • Re: XmlTextWriter Speed Increase?
    ... That at least will eliminate some of the overhead related to writing to the ... file system. ... I wouldn't expect the performance of the memory stream to be ...
    (microsoft.public.dotnet.framework)
  • Re: ReplacerStream
    ... that for simple cases my approach is perhaps not as rude as I thought. ... pass through the bytes as well as writing the complete stream to ... memory. ...
    (microsoft.public.dotnet.framework)
  • Re: FileStream.Close() & GarbageCollection - Memory Leak Question
    ... There are two, that I can think of, major sources of memory leaks in an application. ... While you don't have to explicitly call code to free memory allocated in a managed world, you still have to make all the information you got about the lifetime for your data available to the garbage collector. ... stream and releases any resources ... Dispose/Close typically disposes of "scarce" resources, like handles, files, sockets. ...
    (microsoft.public.dotnet.languages.csharp)

Loading