Networking Reference
In-Depth Information
socketcall.sendto(msg)
fun:send
...
}
{
<socketcall_sendto>
Memcheck:Param
socketcall.send(msg)
fun:send
...
}
Then you could run Valgrind with arguments similar to the following:
valgrind --leak-check=full --show-reachable=yes --suppressions=zeromq.
supp server
Here we can say that running code under Valgrind has severe impacts on the
performance and can introduce timeouts in some cases.
Summary
In this chapter, we had an introduction to sockets and we introduced two new
patterns, namely the publish-subscribe and pipeline pattern. We also discussed
how to solve a certain problem using the publish-subscribe pattern with the help
of a simple example. Then we had a small discussion on how to detect memory
leaks in our ZeroMQ applications by using Valgrind.
 
Search MirCeyron ::




Custom Search