SimNetwork is a project mainly written in C, it's free.
Simulador de tráfego de rede em baixas camadas
404: Not Found