Hi Sergey On Fri, 21 Mar 2008, Serge Fukanchik wrote: > Hi, > i attempting to compile libtpclient-cpp.dll for > Pocket PC.
Cool. No one has tried to port it to Windows yet. > This is very limited and outdated > platform. WinCE sucks big time. > 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? You don't need tls and https sockets unless you need secure sockets. Currently both demo servers do not have secure sockets open. If needed you could create your own secure sockets. > 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. I have been working on this as I update the library. > # Replaced 0LL with just 0. > # Added support for WIN32 mutexes (in framecodec.cpp) (this can be > useful in desktop windows library too). The mutex is going away as I make the library asynchronous and single threaded. > # Manually added simple config.h and added include of > config.h to files where it isn't included. This file is automatically created by autoheader/autoconf and configure. > # iostream isn't supported. I replaced std::cout with printf. > # ostringstream isn't supported. I replaced it with std::string. Is this a limitation of the PocketPC Platform? > # 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. Forward me patches or differences for these and I'll fix them. > # Added #ifdefs around unix-specific includes. Hummm..... patch please? > # I noticed that some source files do not include copyright notice. > I left this as is. Working on this too. > --- > Sergey Later Lee
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
