#include <ae2f/Call.h>
#include <ae2f/Cast.h>
#include "../Sys.h"
#include "./WSock.h"
#include <arpa/inet.h>
#include <unistd.h>
Go to the source code of this file.
- Author
- ae2f
- Date
- 2025-02-01
- Copyright
- Copyright (c) 2025
Definition in file Inet.h.
◆ ae2f_SysInetDel
| #define ae2f_SysInetDel |
( |
| ) |
|
Value:
Library release function.
Definition at line 67 of file Inet.h.
◆ ae2f_SysInetGErr
| #define ae2f_SysInetGErr |
( |
| ) |
|
Value:
[G]et Last [Err]or
Definition at line 73 of file Inet.h.
◆ ae2f_SysInetMk
| #define ae2f_SysInetMk |
( |
| a, |
|
|
| b ) |
Value:
Library startup code.
Notice it is for Windows, not Linux.
For releasing, see ae2f_InetDel.
Linux needs no startup for Inetet api. It will always success.
Definition at line 63 of file Inet.h.
◆ ae2f_SysInetMkData
| #define ae2f_SysInetMkData int8_t |
Dummy Inetet API Data.
Definition at line 54 of file Inet.h.
◆ closesocket
| #define closesocket close |
since for windowsm for closing socket, closesocket is recommended.
Definition at line 76 of file Inet.h.