iDirect interview question

How do you implement TCP/IP protocol on your own