Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
WinSock.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
5
6namespace Stroika::Foundation::IO::Network::Platform::Windows {
7
8 /*
9 ********************************************************************************
10 ************************ Network::Platform::Windows::WinSock *******************
11 ********************************************************************************
12 */
13 inline void WinSock::NoteExternallyStarted ()
14 {
15 Require (not sStarted_);
16 sStarted_ = true;
17 }
18 inline bool WinSock::IsStarted ()
19 {
20 return sStarted_;
21 }
22 inline void WinSock::AssureStarted ()
23 {
24 if (not sStarted_) {
25 ForceStartup ();
26 }
27 }
28
29}