Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
NetLayer.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: NetEx.lib
6
FILE: NetLayer.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Wrapper for WinSock Library
13
*/
14
15
#ifndef NetLayer_h
16
#define NetLayer_h
17
18
#include <windows.h>
19
#include "
Text.h
"
20
21
// +-------------------------------------------------------------------+
22
23
class
NetLayer
24
{
25
public
:
26
static
const
char
*
TYPENAME
() {
return
"NetLayer"
; }
27
28
NetLayer
();
29
~NetLayer
();
30
31
bool
OK
()
const
;
32
const
char
*
Description
()
const
;
33
34
static
int
GetLastError
();
35
static
DWORD
GetTime
();
36
static
long
GetUTC
();
37
static
Text
GetHostName
();
38
39
private
:
40
WSADATA info;
41
bool
fail;
42
};
43
44
45
#endif NetLayer_h
NetEx
NetLayer.h
Generated on Tue Jun 5 2012 20:46:18 for Starshatter_Open by
1.8.1