tcpip_callback() function
Call a specific function in the thread context of tcpip_thread for easy access synchronization. A function called in that way may access lwIP core code without fearing concurrent access. Blocks until the request is posted. Must not be called from interrupt context! @see tcpip_try_callback
Arguments
function
the function to call
Return value
ERR_OK if the function was called, another err_t if not