![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSocket.h>
Public Member Functions | |
FXSocket () | |
FXSocket (FXInputHandle handle, FXuint mode) | |
virtual bool | open (FXInputHandle handle, FXuint mode) |
virtual FXival | readBlock (void *data, FXival count) |
virtual FXival | writeBlock (const void *data, FXival count) |
virtual bool | close () |
virtual | ~FXSocket () |
Socket i/o device.
FX::FXSocket::FXSocket | ( | ) | [inline] |
Construct socket.
FX::FXSocket::FXSocket | ( | FXInputHandle | handle, |
FXuint | mode | ||
) |
Construct file and attach existing handle h.
virtual FX::FXSocket::~FXSocket | ( | ) | [virtual] |
Destroy.
virtual bool FX::FXSocket::open | ( | FXInputHandle | handle, |
FXuint | mode | ||
) | [virtual] |
Open device with access mode and handle.
Reimplemented from FX::FXIO.
virtual FXival FX::FXSocket::readBlock | ( | void * | data, |
FXival | count | ||
) | [virtual] |
Read block of bytes, returning number of bytes read.
Reimplemented from FX::FXIO.
virtual FXival FX::FXSocket::writeBlock | ( | const void * | data, |
FXival | count | ||
) | [virtual] |
Write block of bytes, returning number of bytes written.
Reimplemented from FX::FXIO.
virtual bool FX::FXSocket::close | ( | ) | [virtual] |
Close socket.
Reimplemented from FX::FXIO.
![]() |