summaryrefslogtreecommitdiffstats
path: root/source/OSSupport/Socket.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-24 14:28:51 +0100
committermadmaxoft <github@xoft.cz>2013-11-24 14:28:51 +0100
commit1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b (patch)
tree26cda359a00074e82a7c7a4f4d0fd7ea2e5fafa3 /source/OSSupport/Socket.h
parentAPIDump: Moved projectiles' documentation to a separate file. (diff)
downloadcuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar.gz
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar.bz2
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar.lz
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar.xz
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.tar.zst
cuberite-1f8399fae528f44e0543d1baca7d6ccbc2dd5f8b.zip
Diffstat (limited to '')
-rw-r--r--source/OSSupport/Socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/OSSupport/Socket.h b/source/OSSupport/Socket.h
index 34f09cc74..81bfd28fc 100644
--- a/source/OSSupport/Socket.h
+++ b/source/OSSupport/Socket.h
@@ -38,6 +38,7 @@ public:
/// Sets the address-reuse socket flag; returns true on success
bool SetReuseAddress(void);
+ /// Initializes the network stack. Returns 0 on success, or another number as an error code.
static int WSAStartup(void);
static AString GetErrorString(int a_ErrNo);