#include <wpinet/NetworkStream.h>
◆ Error
Enumerator |
---|
kConnectionClosed | |
kConnectionReset | |
kConnectionTimedOut | |
kWouldBlock | |
◆ NetworkStream() [1/2]
wpi::NetworkStream::NetworkStream |
( |
| ) |
|
|
default |
◆ ~NetworkStream()
virtual wpi::NetworkStream::~NetworkStream |
( |
| ) |
|
|
virtualdefault |
◆ NetworkStream() [2/2]
◆ close()
virtual void wpi::NetworkStream::close |
( |
| ) |
|
|
pure virtual |
◆ getNativeHandle()
virtual int wpi::NetworkStream::getNativeHandle |
( |
| ) |
const |
|
pure virtual |
◆ getPeerIP()
◆ getPeerPort()
virtual int wpi::NetworkStream::getPeerPort |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
◆ receive()
virtual size_t wpi::NetworkStream::receive |
( |
char * |
buffer, |
|
|
size_t |
len, |
|
|
Error * |
err, |
|
|
int |
timeout = 0 |
|
) |
| |
|
pure virtual |
◆ send()
virtual size_t wpi::NetworkStream::send |
( |
const char * |
buffer, |
|
|
size_t |
len, |
|
|
Error * |
err |
|
) |
| |
|
pure virtual |
◆ setBlocking()
virtual bool wpi::NetworkStream::setBlocking |
( |
bool |
enabled | ) |
|
|
pure virtual |
◆ setNoDelay()
virtual void wpi::NetworkStream::setNoDelay |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: