mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Added Socket to the amalgamations.
This commit is contained in:
parent
fba59b99b9
commit
438adce31d
@ -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>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#include "inet_address.h"
|
#include "inet_address.h"
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
class Socket {
|
class Socket {
|
||||||
public:
|
public:
|
||||||
|
@ -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
|
||||||
====================================================================================
|
====================================================================================
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user