http://mbed.org/users/mbed_official/code/EthernetInterface/#73a6916d991e