Logo
~Sockets~
~Examples~
~Contact~


MySocket Class Reference

List of all members.


Public Member Functions

 MySocket (ISocketHandler &h)
void OnAccept ()

Detailed Description

Definition at line 83 of file sockets_test.cpp.


Constructor & Destructor Documentation

MySocket::MySocket ( ISocketHandler &  h  )  [inline]

Definition at line 86 of file sockets_test.cpp.

00086                                     : TcpSocket(h) {
00087         }


Member Function Documentation

void MySocket::OnAccept (  )  [inline]

Definition at line 88 of file sockets_test.cpp.

00088                         {
00089                 int port = GetParent() -> GetPort();
00090                 Send("I'm the server at port " + 
00091                         Utility::l2string(port) + "\n");
00092                 SetCloseAndDelete();
00093         }


The documentation for this class was generated from the following file:
Page, code, and content Copyright (C) 2007 by Anders Hedström
Generated for C++ Sockets by  doxygen 1.4.4