khttpproxysocketdevice.cpp
virtual TQString serviceName() const
Returns the service name for this socket.
Definition: tdesocketaddress.cpp:603
const KResolverEntry & proxyServer() const
Retrieves the proxy server address.
Definition: khttpproxysocketdevice.cpp:80
void resetError()
Resets the socket error code and the I/O Device's status.
Definition: tdesocketbase.cpp:315
virtual bool connect(const KResolverEntry &address)
Overrides connection.
Definition: khttpproxysocketdevice.cpp:109
virtual TQT_TQIO_LONG tqwriteBlock(const char *data, TQT_TQIO_ULONG len)
Writes data to the socket.
Definition: tdesocketdevice.cpp:506
TDESocketAddress address() const
Retrieves the socket address associated with this entry.
Definition: kresolver.cpp:142
A namespace to store all networking-related (socket) classes.
Definition: kbufferedsocket.h:36
virtual TDESocketAddress peerAddress() const
Return the peer address.
Definition: khttpproxysocketdevice.cpp:97
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
The low-level backend for HTTP proxying.
Definition: khttpproxysocketdevice.h:43
void setError(int status, SocketError error)
Sets the socket's error code and the I/O Device's status.
Definition: tdesocketbase.cpp:309
virtual TDESocketAddress externalAddress() const
Return the externally visible address.
Definition: khttpproxysocketdevice.cpp:104
void setProxyServer(const KResolverEntry &proxy)
Sets the proxy server address.
Definition: khttpproxysocketdevice.cpp:85
virtual bool connect(const KResolverEntry &address)
Connect to a remote host.
Definition: tdesocketdevice.cpp:276
virtual TQT_TQIO_LONG tqreadBlock(char *data, TQT_TQIO_ULONG maxlen)
Reads data from this socket.
Definition: tdesocketdevice.cpp:422
Can connect to hostnames.
Definition: tdesocketdevice.h:67
Can not use datagrams.
Definition: tdesocketdevice.h:90
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:464