summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqserversocket.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqserversocket.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqserversocket.3qt')
-rw-r--r--doc/man/man3/tqserversocket.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqserversocket.3qt b/doc/man/man3/tqserversocket.3qt
index 24c3d907f..e7b3e4279 100644
--- a/doc/man/man3/tqserversocket.3qt
+++ b/doc/man/man3/tqserversocket.3qt
@@ -90,15 +90,15 @@ This causes any backlogged connections (connections that have reached the host,
.PP
Existing connections continue to exist; this only affects the acceptance of new connections.
.SH "TQHostAddress TQServerSocket::address () const"
-Returns the address on which this object listens, or 0.0.0.0 if this object listens on more than one address. ok() must be TRUE before calling this function.
+Returns the address on which this object listens, or 0.0.0.0 if this object listens on more than one address. ok() must be true before calling this function.
.PP
See also port() and TQSocketDevice::address().
.SH "void TQServerSocket::newConnection ( int socket )\fC [pure virtual]\fR"
This pure virtual function is responsible for setting up a new incoming connection. \fIsocket\fR is the fd (file descriptor) for the newly accepted connection.
.SH "bool TQServerSocket::ok () const"
-Returns TRUE if the construction succeeded; otherwise returns FALSE.
+Returns true if the construction succeeded; otherwise returns false.
.SH "TQ_UINT16 TQServerSocket::port () const"
-Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, TQServerSocket will pick a non-zero port itself. ok() must be TRUE before calling this function.
+Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, TQServerSocket will pick a non-zero port itself. ok() must be true before calling this function.
.PP
See also address() and TQSocketDevice::port().
.PP