summaryrefslogtreecommitdiffstats
path: root/qnetchess/src/gamesocket.cpp
blob: b3dc2fe5ac82ecbf45857ffff29cd074ad1609aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * $Id: gamesocket.cpp,v 0.1 2005/01/08 12:31:24 denis Exp $
 *
 * Author: Denis Kozadaev (denis@tambov.ru)
 * Description:
 *
 * See also: style(9)
 *
 * Hacked by:
 */

#include <ntqsocket.h>

#include "gamesocket.h"

GameSocket::GameSocket(TQObject *parent, const char *name)
	:TQServerSocket(GAME_PORT, GAME_BACKLOG, parent, name)
{
}

GameSocket::~GameSocket()
{
}


void
GameSocket::newConnection(int sock)
{

	emit acceptConnection(sock);
}

#include "gamesocket.moc"