You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
478 B
34 lines
478 B
/*
|
|
* $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"
|