Is there a good tutorial or example that shows how to use protobuf-net and zeromq together? Maybe a sample client / server application showing this usage?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That is a very specific pairing. I would instead focus on two questions:
byte[]via zeromq?byte[]?The answer to the second is: via
MemoryStream; either create anew MemoryStream(bytes)(deserialization), or (serialization) create an emptyMemoryStream, write to it, then callToArray().I don’t know much about zeromq, but most buses make this easy. If it only handles strings, then use Convert.ToBase64String() and Convert.FromBase64String().