0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 00:32:34 +08:00
libzmq/tests/test_pair_tcp.cpp

31 lines
973 B
C++
Raw Normal View History

/*
Copyright (c) 2007-2010 iMatix Corporation
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the Lesser GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
0MQ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2010-08-28 13:58:23 +02:00
#include "testutil.hpp"
using namespace std;
using namespace zmqtestutil;
int main (int argc, char *argv [])
{
2010-08-28 13:58:23 +02:00
const char *transport = "tcp://127.0.0.1:5555" ;
basic_tests (transport, ZMQ_PAIR, ZMQ_PAIR);
return 0 ;
}