diff options
| author | 2009-08-06 17:56:43 +0000 | |
|---|---|---|
| committer | 2009-08-06 17:56:43 +0000 | |
| commit | 5d09651e5664c3c875fe4b32acdc84e207ffd243 (patch) | |
| tree | 8fdd73f929a5d9ec3ef110607c38806a3bc8a4e9 /src/modules/objects/class_socket.cpp | |
| parent | reverted part of r3395 (fixes #511), LIB_SUFFIX is the common flag name for c... (diff) | |
| download | KVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.tar.gz KVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.tar.bz2 KVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.zip | |
[KVIrc] (trunk) Fixed spelling mistakes found by Lintian.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3402 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_socket.cpp')
| -rw-r--r-- | src/modules/objects/class_socket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp index e2453afdb..cd807a3e9 100644 --- a/src/modules/objects/class_socket.cpp +++ b/src/modules/objects/class_socket.cpp @@ -89,7 +89,7 @@ Attempts a connection to <host> on port <port>.[br] <host> can be a numeric internet address (either Ipv4 or Ipv6 (if supported)) or a hostname.[br] If a hostname is used, a DNS lookup is performed (the socket enters the "dns call" state).[br] - This function returns 1 if the connect attempt can be succesfully initiated, + This function returns 1 if the connect attempt can be successfully initiated, 0 otherwise.[br] In fact , this function returns 0 only if the supplied <port> parameter is invalid or the socket is in an incoherent state (already connected or listening): for a newly created socket and with a valid <port> number you can safely ignore @@ -120,7 +120,7 @@ This function returns '1' in case of success and '0' in case of failure. !fn: $connectEvent() - This function is called when a connection attempt has been succesfully completed. + This function is called when a connection attempt has been successfully completed. The socket is actually connected to [classfnc:socket]$remoteIp[/classfnc]() on [classfnc:socket]$remotePort[/classfnc](). You can start writing data and you may expect [classfnc:socket]$dataAvailableEvent[/classfnc]() to be @@ -609,7 +609,7 @@ KVSO_CLASS_FUNCTION(socket,writeHex) KVSO_PARAMETERS_END(c) if (m_szHex.length()%2) { - c->warning(__tr2qs_ctx("The hex string lenght is not a multiple of 2","objects")); + c->warning(__tr2qs_ctx("The hex string length is not a multiple of 2","objects")); return true; } unsigned char byte,lsb,msb; |
