Rookie a sister, asks everybody a great god directions ~
Recently in learning to iscsi by the TCP transport layer protocol for the UDP, now look at the iscsi target server - or open - iscsi client, all have the kernel layer and user layer, the connection is established between should be through the kernel layer, but the open - iscsi user instructions from usr/iscsid. C and iscsiadm. C incoming, iscsi target end is usr/ietd. C, modified the socket interface on the target end, but in the process of establishing a connection, retained the connect function part, so to send and receive function can still use the read/write, without the need to replace sendto/recvfrom, but in the iscsi for receiving data have a series of operations, if change to UDP does not know the specific process of sending and receiving modifications to do?? Similarly, in the open - iscsi side, the initialization is the local socket interface to communicate, but listen and accept to encapsulate, sending and receiving process changes do not know how to start???? Please everyone a great god can help me with how to replace the TCP with udp, hoping to specific point to what change?? Or can tell sister next part of the two source TCP connection process?? Here, thank you!!!!!!