Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
net.h
00001 00002 #ifndef POLARSSL_NET_H 00003 #define POLARSSL_NET_H 00004 00005 #define POLARSSL_ERR_NET_UNKNOWN_HOST -0x0056 /**< Failed to get an IP address for the given hostname. */ 00006 #define POLARSSL_ERR_NET_SOCKET_FAILED -0x0042 /**< Failed to open a socket. */ 00007 #define POLARSSL_ERR_NET_CONNECT_FAILED -0x0044 /**< The connection to the given server / port failed. */ 00008 #define POLARSSL_ERR_NET_BIND_FAILED -0x0046 /**< Binding of the socket failed. */ 00009 #define POLARSSL_ERR_NET_LISTEN_FAILED -0x0048 /**< Could not listen on the socket. */ 00010 #define POLARSSL_ERR_NET_ACCEPT_FAILED -0x004A /**< Could not accept the incoming connection. */ 00011 #define POLARSSL_ERR_NET_RECV_FAILED -0x004C /**< Reading information from the socket failed. */ 00012 #define POLARSSL_ERR_NET_SEND_FAILED -0x004E /**< Sending information through the socket failed. */ 00013 #define POLARSSL_ERR_NET_CONN_RESET -0x0050 /**< Connection was reset by peer. */ 00014 #define POLARSSL_ERR_NET_WANT_READ -0x0052 /**< Connection requires a read call. */ 00015 #define POLARSSL_ERR_NET_WANT_WRITE -0x0054 /**< Connection requires a write call. */ 00016 00017 #endif 00018 00019
Generated on Tue Jul 12 2022 19:40:17 by
1.7.2