khttpproxysocketdevice.cpp
void setError(int status, SocketError error)
Sets the socket's error code and the I/O Device's status.
Definition: tdesocketbase.cpp:309
void resetError()
Resets the socket error code and the I/O Device's status.
Definition: tdesocketbase.cpp:315
The low-level backend for HTTP proxying.
Definition: khttpproxysocketdevice.h:44
static KResolverEntry defaultProxy
This is the default proxy server to be used.
Definition: khttpproxysocketdevice.h:117
KHttpProxySocketDevice(const TDESocketBase *=0L)
Constructor.
Definition: khttpproxysocketdevice.cpp:55
void setProxyServer(const KResolverEntry &proxy)
Sets the proxy server address.
Definition: khttpproxysocketdevice.cpp:85
const KResolverEntry & proxyServer() const
Retrieves the proxy server address.
Definition: khttpproxysocketdevice.cpp:80
virtual TDESocketAddress peerAddress() const
Return the peer address.
Definition: khttpproxysocketdevice.cpp:97
virtual bool connect(const KResolverEntry &address)
Overrides connection.
Definition: khttpproxysocketdevice.cpp:109
virtual TDESocketAddress externalAddress() const
Return the externally visible address.
Definition: khttpproxysocketdevice.cpp:104
TDESocketAddress address() const
Retrieves the socket address associated with this entry.
Definition: kresolver.cpp:142
virtual TQString serviceName() const
Returns the service name for this socket.
Definition: tdesocketaddress.cpp:603
virtual TQString nodeName() const
Returns the node name of this socket.
Definition: tdesocketaddress.cpp:576
virtual TQ_LONG peekBlock(char *data, TQ_ULONG maxlen)
Peeks data in the socket.
Definition: tdesocketdevice.cpp:459
virtual TQ_LONG writeBlock(const char *data, TQ_ULONG len)
Writes data to the socket.
Definition: tdesocketdevice.cpp:501
virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen)
Reads data from this socket.
Definition: tdesocketdevice.cpp:417
virtual TQ_LONG bytesAvailable() const
Returns the number of bytes available for reading without blocking.
Definition: tdesocketdevice.cpp:367
virtual bool connect(const KResolverEntry &address)
Connect to a remote host.
Definition: tdesocketdevice.cpp:276
A namespace to store all networking-related (socket) classes.
Definition: kbufferedsocket.h:36