Reference
The net_context API is not meant for application use. Application should use BSD Sockets API instead.