Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSocket Class Reference

Socket i/o device. More...

#include <FXSocket.h>

Inheritance diagram for FX::FXSocket:

FX::FXIO List of all members.

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 ()

Detailed Description

Socket i/o device.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Copyright © 1997-2005 Jeroen van der Zijp