How to trace the send() in client call
Augusto Mecking Caringi
augustocaringi at gmail.com
Mon May 26 18:19:23 EDT 2014
On Mon, May 26, 2014 at 1:48 PM, Robert Clove <cloverobert at gmail.com> wrote:
> Hi All,
>
> I need your help.
> I have written the client server program in which client is sending the
> packets to the server.
> I want to trace the "send()" that is used in the client program actually
> want to trace the system call the packet traverses .
> How to trace ?
>
Hi Robert,
You can use the strace command line tool.
There is an argument to trace only network related syscalls:
-e trace=network
Trace all the network related system calls.
Take a look on the strace manual page for more information.
Best regards.
--
Augusto Mecking Caringi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140526/0ac93833/attachment-0001.html
More information about the Kernelnewbies
mailing list