I\'m trying to sends XML serializable objects over a network stream.
I\'ve already used this on an UDP broadcast server, where it receive UDP messages from the local
Of course because the serializer continue to read the NetworkStream, and it doesn't ends when encouter the main end element.
NetworkStream
To achieve the wanted result it's necessary the use of a MemoryStream, which notify the end of stream when the last byte was read.
MemoryStream