Added Socket to the amalgamations.

This commit is contained in:
Relintai 2024-01-13 10:08:42 +01:00
parent fba59b99b9
commit 438adce31d
8 changed files with 66 additions and 0 deletions

View File

@ -8,7 +8,9 @@
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//--STRIP
#include "inet_address.h"
//--STRIP
#include <cstdio>
#include <cstring>

View File

@ -24,7 +24,9 @@
//On windows link to ws2_32
//--STRIP
#include "int_types.h"
//--STRIP
#if defined(_WIN64) || defined(_WIN32)
#include <ws2tcpip.h>
@ -38,6 +40,7 @@ using uint16_t = unsigned short;
#endif
//--STRIP
#include "int_types.h"
#include "core/ustring.h"
//--STRIP

View File

@ -17,7 +17,9 @@
*
*/
//--STRIP
#include "inet_address.h"
//--STRIP
class Socket {
public:

View File

@ -757,6 +757,25 @@ SpinLock
</details>
Networking
------------------------------------------------------------------
Socket
<a name="CLASS_InetAddress"></a>
<details><summary>InetAddress</summary>
|||CLASS_InetAddress|||
</details>
<a name="CLASS_Socket"></a>
<details><summary>Socket</summary>
|||CLASS_Socket|||
</details>
OBJECT
====================================================================================

View File

@ -196,6 +196,16 @@
//--STRIP
{{FILE:sfw/core/dir_access.cpp}}
//--STRIP
//System includes
//--STRIP
{{FILE:sfw/core/inet_address.cpp}}
//--STRIP
//#include "core/error_macros.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/socket.cpp}}
//--STRIP
//#include "core/pool_vector.h"
//#include "core/string_name.h"

View File

@ -410,6 +410,16 @@
//--STRIP
{{FILE:sfw/core/dir_access.h}}
//--STRIP
//#include "int_types.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/inet_address.h}}
//--STRIP
//#include "inet_address.h"
//--STRIP
{{FILE:sfw/core/socket.h}}
//--STRIP
//no includes
//--STRIP

View File

@ -368,6 +368,16 @@
//--STRIP
{{FILE:sfw/core/dir_access.cpp}}
//--STRIP
//System includes
//--STRIP
{{FILE:sfw/core/inet_address.cpp}}
//--STRIP
//#include "core/error_macros.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/socket.cpp}}
//--STRIP
//#include "core/pool_vector.h"
//#include "core/string_name.h"

View File

@ -415,6 +415,16 @@
//--STRIP
{{FILE:sfw/core/sfw_core.h}}
//--STRIP
//#include "int_types.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/inet_address.h}}
//--STRIP
//#include "inet_address.h"
//--STRIP
{{FILE:sfw/core/socket.h}}
//=================== OBJECT SECTION ===================
//--STRIP