WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::TCPStream Class Reference
Inheritance diagram for wpi::TCPStream:
wpi::NetworkStream

Public Member Functions

size_t send (const char *buffer, size_t len, Error *err) override
 
size_t receive (char *buffer, size_t len, Error *err, int timeout=0) override
 
void close () override
 
StringRef getPeerIP () const override
 
int getPeerPort () const override
 
void setNoDelay () override
 
bool setBlocking (bool enabled) override
 
int getNativeHandle () const override
 
 TCPStream (const TCPStream &stream)=delete
 
TCPStreamoperator= (const TCPStream &)=delete
 
- Public Member Functions inherited from wpi::NetworkStream
 NetworkStream (const NetworkStream &)=delete
 
NetworkStreamoperator= (const NetworkStream &)=delete
 

Friends

class TCPAcceptor
 
class TCPConnector
 

Additional Inherited Members

- Public Types inherited from wpi::NetworkStream
enum  Error { kConnectionClosed = 0, kConnectionReset = -1, kConnectionTimedOut = -2, kWouldBlock = -3 }
 

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