mikroSDK Reference Manual
bsd_socket_misc.h
Go to the documentation of this file.
1
31
#ifndef _BSD_SOCKET_MISC_H
32
#define _BSD_SOCKET_MISC_H
33
34
//Dependencies
35
#include "
core/net.h
"
36
#include "
core/bsd_socket.h
"
37
38
//C++ guard
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
//BSD socket related functions
44
void
socketSetErrnoCode(Socket *socket, uint_t errnoCode);
45
void
socketTranslateErrorCode(Socket *socket,
error_t
errorCode);
46
47
//C++ guard
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
bsd_socket.h
BSD socket API.
error_t
error_t
Error codes.
Definition
error.h:43
net.h
TCP/IP stack core.