2019-12-27 21:52:45 +00:00
|
|
|
#ifndef cwTcpSocketTest_H
|
|
|
|
#define cwTcpSocketTest_H
|
|
|
|
|
|
|
|
namespace cw
|
|
|
|
{
|
|
|
|
namespace net
|
|
|
|
{
|
|
|
|
namespace socket
|
|
|
|
{
|
|
|
|
rc_t test( portNumber_t localPort, const char* remoteAddr, portNumber_t remotePort );
|
2020-01-27 22:52:53 +00:00
|
|
|
rc_t test_tcp( portNumber_t localPort, const char* remoteAddr, portNumber_t remotePort, bool dgramFl, bool serverFl );
|
2019-12-27 21:52:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace srv
|
|
|
|
{
|
2020-02-12 18:25:13 +00:00
|
|
|
rc_t test_udp_srv( socket::portNumber_t localPort, const char* remoteAddr, socket::portNumber_t remotePort );
|
|
|
|
rc_t test_tcp_srv( socket::portNumber_t localPort, const char* remoteAddr, socket::portNumber_t remotePort );
|
2020-01-27 22:52:53 +00:00
|
|
|
rc_t mdns_test();
|
2019-12-27 21:52:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|