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) // Author: Shuo Chen (chenshuo at chenshuo dot com)
//--STRIP
#include "inet_address.h" #include "inet_address.h"
//--STRIP
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>

View File

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

View File

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

View File

@ -757,6 +757,25 @@ SpinLock
</details> </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 OBJECT
==================================================================================== ====================================================================================

View File

@ -196,6 +196,16 @@
//--STRIP //--STRIP
{{FILE:sfw/core/dir_access.cpp}} {{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 //--STRIP
//#include "core/pool_vector.h" //#include "core/pool_vector.h"
//#include "core/string_name.h" //#include "core/string_name.h"

View File

@ -410,6 +410,16 @@
//--STRIP //--STRIP
{{FILE:sfw/core/dir_access.h}} {{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 //--STRIP
//no includes //no includes
//--STRIP //--STRIP

View File

@ -368,6 +368,16 @@
//--STRIP //--STRIP
{{FILE:sfw/core/dir_access.cpp}} {{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 //--STRIP
//#include "core/pool_vector.h" //#include "core/pool_vector.h"
//#include "core/string_name.h" //#include "core/string_name.h"

View File

@ -415,6 +415,16 @@
//--STRIP //--STRIP
{{FILE:sfw/core/sfw_core.h}} {{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 =================== //=================== OBJECT SECTION ===================
//--STRIP //--STRIP