Rename ksocket and kcache

pull/21/head
Timothy Pearson 12 years ago
parent 80bc593eb3
commit 445f21f4e5

@ -37,7 +37,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kbufferedsocket.h> #include <kbufferedsocket.h>
#include <ksocketaddress.h> #include <tdesocketaddress.h>
#include <klocale.h> #include <klocale.h>
#include <kglobal.h> #include <kglobal.h>

@ -36,7 +36,7 @@
#include <tqcstring.h> #include <tqcstring.h>
#include <kbufferedsocket.h> #include <kbufferedsocket.h>
#include <ksocketaddress.h> #include <tdesocketaddress.h>
using namespace KNetwork; using namespace KNetwork;

@ -64,7 +64,7 @@ protected:
enum { enum {
kWSAStartup=1, // Win32 kWSAStartup=1, // Win32
kgethostbyname, kgethostbyname,
ksocket, tdesocket,
ksetsockopt, ksetsockopt,
kconnect, kconnect,
ksend, ksend,

@ -216,7 +216,7 @@ protected:
enum { enum {
kWSAStartup=1, // Win32 kWSAStartup=1, // Win32
kgethostbyname, kgethostbyname,
ksocket, tdesocket,
ksetsockopt, ksetsockopt,
kconnect, kconnect,
ksend, ksend,

@ -127,7 +127,7 @@ int DwProtocolClient::Open(const char* aServer, DwUint16 aPort)
if (mSocket == -1) { if (mSocket == -1) {
// error! // error!
int err = errno; int err = errno;
HandleError(err, ksocket); HandleError(err, tdesocket);
return -1; return -1;
} }
@ -358,7 +358,7 @@ void DwProtocolClient::HandleError(int aErrorCode, int aSystemCall)
mErrorCode = aErrorCode; mErrorCode = aErrorCode;
mErrorStr = get_error_text(mErrorCode); mErrorStr = get_error_text(mErrorCode);
switch (aSystemCall) { switch (aSystemCall) {
case ksocket: case tdesocket:
switch (mErrorCode) { switch (mErrorCode) {
case EMFILE: case EMFILE:
case ENFILE: case ENFILE:

Loading…
Cancel
Save