mikroSDK Reference Manual
socket_misc.h
Go to the documentation of this file.
1
31#ifndef _SOCKET_MISC_H
32#define _SOCKET_MISC_H
33
34//Dependencies
35#include "core/net.h"
36#include "core/socket.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//Socket related functions
44Socket *socketAllocate(uint_t type, uint_t protocol);
45
46void socketRegisterEvents(Socket *socket, OsEvent *event, uint_t eventMask);
47void socketUnregisterEvents(Socket *socket);
48uint_t socketGetEvents(Socket *socket);
49
50//C++ guard
51#ifdef __cplusplus
52}
53#endif
54
55#endif
TCP/IP stack core.
uint_t OsEvent
Event object.
Definition os_port_none.h:104
Socket API.