WPILibC++ 2024.3.2
wpi::TCPConnector Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpinet/src/main/native/thirdparty/tcpsockets/include/wpinet/TCPConnector.h>

Static Public Member Functions

static std::unique_ptr< NetworkStreamconnect (const char *server, int port, Logger &logger, int timeout=0)
 
static std::unique_ptr< NetworkStreamconnect_parallel (std::span< const std::pair< const char *, int > > servers, Logger &logger, int timeout=0)
 

Member Function Documentation

◆ connect()

static std::unique_ptr< NetworkStream > wpi::TCPConnector::connect ( const char *  server,
int  port,
Logger logger,
int  timeout = 0 
)
static

◆ connect_parallel()

static std::unique_ptr< NetworkStream > wpi::TCPConnector::connect_parallel ( std::span< const std::pair< const char *, int > >  servers,
Logger logger,
int  timeout = 0 
)
static

The documentation for this class was generated from the following file: