Drift Standard Libraries

From IRCBotWiki

Jump to: navigation, search

The Drift Standard Libraries are a collection of files that are useful in writing cross-platform code and save countless amounts of time in rewriting things for each of your projects.

They include:

sockets3.cpp/h
 The Titus_Sockets3 class, the newest class for cross-platform sockets. Includes native seamless SSL support.
sockets2.cpp/h
 The Titus_Sockets2 class, for cross-platform sockets.
Threading.cpp/h
 Threading using pthreads on POSIX systems, or CreateThread on Win32
Mutex.cpp/h
 Cross-platform Mutex implementation, used in many other DSL files to provide locks, useful by itself as well.
memleak.cpp/h
 Memory allocation/deallocation functions that keep track of pointers and check for buffer over/underruns
config.cpp/h
 Universal Configuration reader, quite the useful
download.cpp/h
 A downloading class, downloads from HTTP & FTP servers, including Basic HTTP Authentication.
sqlwrap.cpp/h
 A class for using MySQL, makes using the results of a query easier to use.
base64.c/h
 Base 64 Encoding/Decoding
GenLib.c/h
 Implements a string tokenizer
str_replace.c/h
 Searches a string and replaces found text with the specified replacement

A lot of the libraries are available at Titus-Dev.com, and I will be releasing more of them on there shortly.

Operating System:Win32Win64 NativeLinux/UnixFreeBSD
Supported: YesMostlyYesYes
Personal tools