WPILibC++  2020.3.2-60-g3011ebe
wpi::NetworkStream Class Referenceabstract
Inheritance diagram for wpi::NetworkStream:

Public Types

enum  Error { kConnectionClosed = 0, kConnectionReset = -1, kConnectionTimedOut = -2, kWouldBlock = -3 }

Public Member Functions

virtual size_t send (const char *buffer, size_t len, Error *err)=0
virtual size_t receive (char *buffer, size_t len, Error *err, int timeout=0)=0
virtual void close ()=0
virtual StringRef getPeerIP () const =0
virtual int getPeerPort () const =0
virtual void setNoDelay ()=0
virtual bool setBlocking (bool enabled)=0
virtual int getNativeHandle () const =0
 NetworkStream (const NetworkStream &)=delete
NetworkStreamoperator= (const NetworkStream &)=delete

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