Relative Content

Tag Archive for boost

Serializing network messages

I am writing a network wrapper around boost::asio and was wondering what is a good and simple way to serialize my messages. I have a message factory which can take care of dispatching the data to the correct builder, but I want to know if there are any established solutions for getting the binary data on the sender side and consequently passing the data for deserialization on the receiver end.

Performance overhead of standard containers and boost [closed]

There are several rules that we are obeying in order to keep the performance high;
Avoid malloc(), calloc() or new
No free() or delete (and no need for tcmalloc)
No STL, boost etc.
Avoid locking as much as possible
# threads = # CPU cores (hyperthread is a trade-off between latency and throughput)

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using TLS, but it is not practical for every client to have their own certificate and self signed certificates are apparently insecure. What other cryptographic technologies are available that do not require registration with a central authority? Especially ones that would be easy to integrate with these technologies, i.e. there are programmatic implementations available.

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using TLS, but it is not practical for every client to have their own certificate and self signed certificates are apparently insecure. What other cryptographic technologies are available that do not require registration with a central authority? Especially ones that would be easy to integrate with these technologies, i.e. there are programmatic implementations available.

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using TLS, but it is not practical for every client to have their own certificate and self signed certificates are apparently insecure. What other cryptographic technologies are available that do not require registration with a central authority? Especially ones that would be easy to integrate with these technologies, i.e. there are programmatic implementations available.

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using TLS, but it is not practical for every client to have their own certificate and self signed certificates are apparently insecure. What other cryptographic technologies are available that do not require registration with a central authority? Especially ones that would be easy to integrate with these technologies, i.e. there are programmatic implementations available.

How to share memory between applications written in C/C++

I’m going through a program written in C/C++ for control in robotics. Basically, three different programs run at the same time, and they communicate via shared memory. Google-ling around I found thinks like vxWorks and the boost libraries interprocess headers (Boost documentation: Sharing memory between processes).