Homework of TCP/IP programming, making a pseude-shell in C under Ubuntu.