KDECore
#include <k3sockssocketdevice.h>

Detailed Description
The low-level class for SOCKS proxying.
This class reimplements several functions from KSocketDevice in order to implement SOCKS support.
This works by using KSocks.
- Warning
- This code is untested!
- Deprecated:
- Use KSocketFactory or KLocalSocket instead
Definition at line 42 of file k3sockssocketdevice.h.
Constructor & Destructor Documentation
◆ KSocksSocketDevice() [1/2]
KSocksSocketDevice::KSocksSocketDevice | ( | const KSocketBase * | obj = 0L | ) |
Constructor.
Definition at line 47 of file k3sockssocketdevice.cpp.
◆ KSocksSocketDevice() [2/2]
|
explicit |
Construct from a file descriptor.
Definition at line 54 of file k3sockssocketdevice.cpp.
◆ ~KSocksSocketDevice()
|
virtual |
Destructor.
Definition at line 61 of file k3sockssocketdevice.cpp.
Member Function Documentation
◆ accept()
|
virtual |
Overrides accepting.
The return type is specialized.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 168 of file k3sockssocketdevice.cpp.
◆ bind()
|
virtual |
Overrides binding.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 74 of file k3sockssocketdevice.cpp.
◆ capabilities()
|
virtual |
Sets our capabilities.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 66 of file k3sockssocketdevice.cpp.
◆ connect()
|
virtual |
Overrides connection.
Definition at line 119 of file k3sockssocketdevice.cpp.
◆ externalAddress()
|
virtual |
Overrides getting external address.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 385 of file k3sockssocketdevice.cpp.
◆ listen()
|
virtual |
Overrides listening.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 98 of file k3sockssocketdevice.cpp.
◆ localAddress()
|
virtual |
Overrides getting socket address.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 327 of file k3sockssocketdevice.cpp.
◆ peekBlock() [1/2]
Overrides peeking.
Definition at line 258 of file k3sockssocketdevice.cpp.
◆ peekBlock() [2/2]
|
virtual |
Overrides peeking.
Definition at line 279 of file k3sockssocketdevice.cpp.
◆ peerAddress()
|
virtual |
Overrides getting peer address.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 356 of file k3sockssocketdevice.cpp.
◆ poll()
|
virtual |
Overrides polling.
Reimplemented from KNetwork::KSocketDevice.
Definition at line 391 of file k3sockssocketdevice.cpp.
◆ readBlock() [1/2]
Overrides reading.
Definition at line 216 of file k3sockssocketdevice.cpp.
◆ readBlock() [2/2]
|
virtual |
Overrides reading.
- Todo:
- (Thiago, you saw this coming) Actually document this. What is the
from
for?
Definition at line 237 of file k3sockssocketdevice.cpp.
◆ writeBlock() [1/2]
Overrides writing.
Definition at line 300 of file k3sockssocketdevice.cpp.
◆ writeBlock() [2/2]
|
virtual |
Overrides writing.
Definition at line 305 of file k3sockssocketdevice.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.