equal
deleted
inserted
replaced
26 NativeSecureConnection::NativeSecureConnection(const char * aName, |
26 NativeSecureConnection::NativeSecureConnection(const char * aName, |
27 int aMode, const char * aHost, int aPort) : |
27 int aMode, const char * aHost, int aPort) : |
28 NativeSocketConnection(aName, aMode, aHost, aPort) |
28 NativeSocketConnection(aName, aMode, aHost, aPort) |
29 { |
29 { |
30 JELOG2(ESOCKET); |
30 JELOG2(ESOCKET); |
31 mName = NULL; |
|
32 mHost = NULL; |
|
33 mName = new char[strlen(aName) + 1]; |
|
34 strcpy(mName, aName); |
|
35 mHost = new char[strlen(aHost) + 1]; |
|
36 strcpy(mHost, aHost); |
|
37 mMode = aMode; |
31 mMode = aMode; |
38 mPort = aPort; |
32 mPort = aPort; |
39 mSecureSocketBuffer = NULL; |
33 mSecureSocketBuffer = NULL; |
40 } |
34 } |
41 |
35 |