embedUR systems Interview Question

Different between TCP/IP what is a segment in Networking memory allocation -Malloc and Calloc