send receive TMemorystream over UDP
Posted on 2008-10-21
i trying like to porting my software that was compiled by delphi 6 to delphi 2007;
unfortunately, i can't found the subtitute for nmUDP (netmaster) component which have methode :
readstream, and sendstream of Tmemorystream.
would you like to write some example code(methode) for sender and listener:
1. using UDP
2. send a TMEmorystream
3. the listener (aSocket or whatever) can receive data as a Tmemorystream or processed to be TMemory stream.
4. whatever the component(indy, ics, synapse, etc...) used as long it's work on delphi 2007, it's ok