udpsocket.hpp

来自「2009 ROBOCUP 仿真2DSERVER 源码」· HPP 代码 · 共 52 行

HPP
52
字号
// -*-c++-*-/***************************************************************************                          udpsocket.hpp  -  A simple udp socket class                             -------------------    begin                : 08-JAN-2003    copyright            : (C) 2003 by The RoboCup Soccer Server                           Maintenance Group.    email                : sserver-admin@lists.sourceforge.net***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU LGPL as published by the Free Software  * *   Foundation; either version 2 of the License, or (at your option) any  * *   later version.                                                        * *                                                                         * ***************************************************************************/#ifndef RCSS_NET_UDPSOCKET_HPP#define RCSS_NET_UDPSOCKET_HPP#include "socket.hpp"namespace rcss {namespace net {class UDPSocket    : public Socket {public:    UDPSocket();    UDPSocket( SocketDesc & s );    UDPSocket( const Addr & addr );    UDPSocket( const Addr & addr,               const Addr & dest );private:    bool doOpen( SocketDesc & fd );};}}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?