<div dir="ltr"><div><div><div>Hi Augusto,<br><br><br></div>But there will be other packets also coming from the network like if some one is browsing the net on mozilla.<br></div>I only want to trace the send() calls that i have used in my code,is that possible?<br>
<br><br></div>Regards<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 3:49 AM, Augusto Mecking Caringi <span dir="ltr"><<a href="mailto:augustocaringi@gmail.com" target="_blank">augustocaringi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">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></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><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Augusto Mecking Caringi </div></font></span></div></div></div>
</blockquote></div><br></div>