Programming for T/TCP is slightly different using socket programming.
As an example, the chain of system calls to implement a TCP client would be as follows:
Whereas with T/TCP the chain of commands would be:
The sendto() function has to be able to use a new flag MSG_EOF, to indicate to the kernel that it has no more data to send on this connection. This is the transaction processing coming into effect.
The kernel must also be modified to recognise this flag.