Stroika Library
3.0d16
Help-Home
Loading...
Searching...
No Matches
WinSock.h
1
/*
2
* Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3
*/
4
#ifndef _Stroika_Foundation_IO_Network_Platform_Windows_WinSock_h_
5
#define _Stroika_Foundation_IO_Network_Platform_Windows_WinSock_h_ 1
6
7
#include "Stroika/Foundation/StroikaPreComp.h"
8
9
#if qStroika_Foundation_Common_Platform_Windows
10
#include <Windows.h>
11
#else
12
#error "WINDOWS REQUIRED FOR THIS MODULE"
13
#endif
14
15
namespace
Stroika::Foundation::IO::Network::Platform::Windows {
16
17
/**
18
* Support single call to WSAStartup () for windows
19
*/
20
struct
WinSock
{
21
static
void
ForceStartup ();
22
static
void
NoteExternallyStarted ();
23
static
bool
IsStarted ();
24
static
void
AssureStarted ();
25
26
private
:
27
static
bool
sStarted_;
28
};
29
30
}
31
32
/*
33
********************************************************************************
34
***************************** Implementation Details ***************************
35
********************************************************************************
36
*/
37
#include "WinSock.inl"
38
39
#endif
/*_Stroika_Foundation_IO_Network_Platform_Windows_WinSock_h_*/
Stroika::Foundation::IO::Network::Platform::Windows::WinSock
Definition
WinSock.h:20
Library
Sources
Stroika
Foundation
IO
Network
Platform
Windows
WinSock.h
Generated by
1.9.8