# Socket Class Reference

Main Socket class. More...

`#include <socket.h>`

Inheritance diagram for Socket:

List of all members.

## Public Member Functions

void | Close ()
| Method used to close a socket.
void | SendLine (std::string)
| Method used to send a line.
void | SendBytes (const std::string &)
| Method used to send a bytes.
SOCKET | get_pointer ()
| Function used to return the SOCKET ptr.

## Static Private Member Functions

static void | Start ()
| Function used to initialize the main class parameters.
static void | End ()
| Function used to close the the SOCKET if it is still open.

## Friends

class | SocketServer

## Detailed Description

Main Socket class.

The documentation for this class was generated from the following files:

- Mes documents/Visual Studio 2005/Projects/WM-ADHOC-TRACKER/WM-ADHOC-TRACKER/socket.h
- Mes documents/Visual Studio 2005/Projects/WM-ADHOC-TRACKER/WM-ADHOC-TRACKER/socket.cpp