An example hot to register a network connection state change callback. Possible state changes are listed on the example.
mbed_example
/
TCPSocket_ConnStateCb_Example