kclientsocketbase.h
348 virtual TQT_TQIO_LONG tqwriteBlock(const char *data, TQT_TQIO_ULONG len, const TDESocketAddress& to);
void connected(const KResolverEntry &remote)
This socket is emitted when the socket successfully connects to a remote address.
void readyRead()
This signal is emitted whenever the socket is ready for reading – i.e., there is data to be read in t...
void closed()
This signal is emitted when the socket completes the closing/shut down process.
void bound(const KResolverEntry &local)
This signal is emitted when the socket successfully binds to an address.
void readyWrite()
This signal is emitted whenever the socket is ready for writing – i.e., whenever there's space availa...
virtual bool bind(const TQString &node=TQString::null, const TQString &service=TQString::null)=0
Binds this socket to the given nodename and service, or use the default ones if none are given.
virtual bool connect(const TQString &node=TQString::null, const TQString &service=TQString::null)=0
Attempts to connect to the these hostname and service, or use the default ones if none are given.
void gotError(int code)
This signal is emitted when this object finds an error.
void aboutToConnect(const KResolverEntry &remote, bool &skip)
This signal is emitted when the socket is about to connect to an address (but before doing so).
void hostFound()
This signal is emitted when the lookup is successfully completed.
void connectToHost(const TQString &host, TQ_UINT16 port)
Definition: kclientsocketbase.h:270
void stateChanged(int newstate)
This signal is emitted whenever the socket state changes.
A namespace to store all networking-related (socket) classes.
Definition: kbufferedsocket.h:36