how does write() correpond to connect()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm done with my networking-stack project (transport protocol) and
I'm writing the docs now (borrrring).
I registered a function 'xxx_sendmsg' in the 'struct proto' to be called
for 'sendmsg' operation on the socket and it workes fine.

Since this is not my part, I don't really know what is the exact chain of
calls when user calls send(). I need to know what happens from send() called
by user to 'xxx_sendmsg'. Also, I need to know how this chain changes when
the user calls 'write()' instead of 'send()'.
btw. this is a connection-oriented protocol.

Thanks for any help!

-marek

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux