<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 26, 2014 at 1:48 PM, Robert Clove <span dir="ltr"><<a href="mailto:cloverobert@gmail.com" target="_blank">cloverobert@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi All,<br><br></div>I need your help.<br>
</div>I have written the client server program in which client is sending the packets to the server.<br></div>I want to trace the "send()" that is used in the client program actually want to trace the system call the packet traverses .<br>
</div><div>How to trace ?</div></div></blockquote><div><br></div><div>Hi Robert,</div><div><br></div><div> You can use the strace command line tool.</div><div><br></div><div> There is an argument to trace only network related syscalls:</div>
<div><br></div><div> -e trace=network</div><div> Trace all the network related system calls.</div><div><br></div><div> Take a look on the strace manual page for more information.</div><div><br></div>
<div> Best regards.</div><div><br></div><div>-- </div><div>Augusto Mecking Caringi </div></div></div></div>