Rewrite EthernetInterface/Socket with C language.