at first, sorry for my bad english.
I think it would just be fair to share some code, because I really liked and even like to use code from the forum. I tried to make it as easy as possible to use.
Its an include file to use server client communication. It allow you to:
-send Datablocks from the RAM
-Files from the HDD.
-handle different clients at the same time
-give feedback of incoming events (*mem,size,type,path,time,user)
-> which can be handled differently
-sending and receiving at the same time, different files/datas (see _sc_set_dynamic_mode())
-connect gapped transmissions
-supports unicode
-and some secret features !?

new version!
http://www.file-upload.net/download-162 ... t.rar.html
<<<< Removed examples, there is one for peer2peer file transfering added in the download
I already tested it, but if you can find a bug, pls post it.
At the moment for 32bit OS, Windows only, PB 4.2 (very easy to change for linux use, 64bit not tested yet)
greets gnasen