Hi,
i attempting to compile libtpclient-cpp.dll for
Pocket PC. This is very limited and outdated
platform. And this leads to many problems
with compiling. And there are some problems
in library code itself. Actually i solved all
riddles and have successfully compiled entire
library except tlssocket.cpp, httpssocket.cpp,
tpssocket.cpp. There is no pocket pc port of
gnutls and after some research i suspect it
will be troublesome to do.

So my question is: How important secure sockets
are for communication between client and server?
Is it possible to write full-featured client without
use of TlsSocket?

And just few words about modifications to library
which i made to compile it:
# Replaced heavy use of non-portable "long long" with int64_t
and "unsigned long long" with uint64_t.
# Replaced 0LL with just 0.
# Added support for WIN32 mutexes (in framecodec.cpp) (this can be
useful in desktop windows library too).
# Manually added simple config.h and added include of
config.h to files where it isn't included.
# iostream isn't supported. I replaced std::cout with printf.
# ostringstream isn't supported. I replaced it with std::string.
# advance() is used without namespace std. I had to change that.
# tcpsocket.cpp IPv4 version uses connect() without namespace
(IPv6 version does not). I added replaced connect() with ::connect().
# tcpsocket.cpp IPv4 uses undefined variable service. I replaced it
with portname.
# Added #ifdefs around unix-specific includes.
# I noticed that some source files do not include copyright notice.
I left this as is.
---
Sergey
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to