I've always built my own serializers/deserializers to be able to use BeginReceive/EndReceive with sockets to avoid using one thread per connected socket. It's a quite time consuming task.
I've started to look at protobuf-net and want to used it with async sockets without having to write serialization/deserialization myself. I would prefer if I don't have to use one thread per socket to wrap blocking operations.
Looking at the quickstart they do exactly that (one thread per client). Are there no other way?
My question isn't really about protobuf-net, but about serialization and sockets in general. But examples for protobuf-net is most welcome.