style: fix minor style aspects
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ BinPackArguments: false
|
|||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
AlignAfterOpenBracket: BlockIndent
|
AlignAfterOpenBracket: BlockIndent
|
||||||
|
|
||||||
SortIncludes: true
|
#SortIncludes: true
|
||||||
IncludeBlocks: Regroup
|
#IncludeBlocks: Regroup
|
||||||
|
|
||||||
InsertNewlineAtEOF: true
|
InsertNewlineAtEOF: true
|
||||||
UseCRLF: true
|
UseCRLF: true
|
||||||
|
|||||||
+5
-2
@@ -1,11 +1,14 @@
|
|||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
|
#include <ws2def.h>
|
||||||
|
#include <Windows.h>
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <winsock2.h>
|
|
||||||
#include <ws2tcpip.h>
|
|
||||||
|
|
||||||
constexpr std::wstring_view CLIENT_IP = L"192.168.1.20";
|
constexpr std::wstring_view CLIENT_IP = L"192.168.1.20";
|
||||||
constexpr int CLIENT_PORT = 9999;
|
constexpr int CLIENT_PORT = 9999;
|
||||||
|
|||||||
Reference in New Issue
Block a user