kclientsocketbase.h
void connected(const KResolverEntry &remote)
This socket is emitted when the socket successfully connects to a remote address.
KClientSocketBase(TQObject *parent, const char *name)
Default constructor.
Definition kclientsocketbase.cpp:50
virtual void stateChanging(SocketState newState)
This function is called by setState whenever the state changes.
Definition kclientsocketbase.cpp:448
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.
SocketState state() const
Returns the current state for this socket.
Definition kclientsocketbase.cpp:64
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 copyError()
Convenience function to set this object's error code to match that of the socket device.
Definition kclientsocketbase.cpp:472
void hostFound()
This signal is emitted when the lookup is successfully completed.
void connectToHost(const TQString &host, TQ_UINT16 port)
Definition kclientsocketbase.h:261
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
Trinity API Reference