A Fast Bresenham Type Algorithm For Drawing Ellipses by John Kennedy
[xy_vsfilter.git] / src / apps / mplayerc / WebServerSocket.cpp
blobab2ab5710b98b2116c8c6ec2d5cef5f6a3b016e1
1 #include "stdafx.h"
2 #include ".\webserver.h"
3 #include ".\webserversocket.h"
5 CWebServerSocket::CWebServerSocket(CWebServer* pWebServer, int port)
6 : m_pWebServer(pWebServer)
8 Create(port);
9 Listen();
12 CWebServerSocket::~CWebServerSocket()
16 void CWebServerSocket::OnAccept(int nErrorCode)
18 if(nErrorCode == 0 && m_pWebServer)
19 m_pWebServer->OnAccept(this);
21 __super::OnAccept(nErrorCode);