QTfrontend/netudpserver.h
author displacer
Thu, 08 Feb 2007 20:03:03 +0000
changeset 417 bc7fea9abd9c
parent 413 523f1769f2bc
child 486 7ea71cd3acd5
permissions -rw-r--r--
randomly chosen ports

#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