QTfrontend/netudpserver.h
author displacer
Thu, 08 Feb 2007 21:11:58 +0000
changeset 420 6cdfc07dceed
parent 413 523f1769f2bc
child 486 7ea71cd3acd5
permissions -rw-r--r--
netserver and netonnectedclient splited to different files

#ifndef _NET_UDPSERVER_INCLUDED
#define _NET_UDPSERVER_INCLUDED

#include <QObject>

class QUdpSocket;

class HWNetUdpServer : public QObject
{
  Q_OBJECT

 public:
  HWNetUdpServer(QObject *parent = 0);

 private slots:
  void onClientRead();

 private:
  QUdpSocket* pUdpSocket;
};

#endif // _NET_UDPSERVER_INCLUDED