Nebula
Loading...
Searching...
No Matches
socket.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#if (__WIN32__)
14namespace Net
15{
16class Socket : public Win32::Win32Socket
17{
19};
20}
21#elif __linux__
23namespace Net
24{
25class Socket : public Posix::PosixSocket
26{
28};
29}
30#else
31#error "Socket class not implemented on this platform"
32#endif
33//------------------------------------------------------------------------------
Platform independent wrapper class for the Sockets API.
A lowlevel socket wrapper class.
Definition posixsocket.h:33
A lowlevel socket wrapper class.
Definition win32socket.h:27
Definition debugmessage.h:20
#define __DeclareClass(type)