summaryrefslogtreecommitdiffstats
path: root/source/cSocket.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-2/+2
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-1/+1
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-354/+354
2012-06-08Simplify ifdef. Makes compiling possible on BSDcedeel@gmail.com1-8/+8
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+1
2012-04-10Added error messages to socket closing error conditions for *nixmadmaxoft@gmail.com1-2/+2
2012-04-03Attempted a fix for cSocket's Bind() call on MacOS-based systems (initializing the whole sockaddr_in structure with zeroes first)madmaxoft@gmail.com1-0/+1
2012-03-31cSocket.cpp should also compile on Mac now (I hope)faketruth1-1/+1
2012-03-12Fixing compilation on Drawin 9 / MacOS Xmadmaxoft@gmail.com1-1/+1
2012-02-20Using own ASSERT() that logs to filefaketruth1-1/+1
2012-02-16cSocket::GetErrorString() now also compiles on Cygwinfaketruth1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-0/+28
2012-02-08cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties.madmaxoft@gmail.com1-1/+6
2012-02-07cSocket: final localhost fix - made it a functionmadmaxoft@gmail.com1-6/+14
2012-02-07Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization)madmaxoft@gmail.com1-1/+1
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com1-2/+23
2012-02-07cSocket: Added more functions that will be needed for the new cSocketThreadsmadmaxoft@gmail.com1-7/+50
2012-02-06cSocket: error reporting function now works correctly on GNU Linux; also includes the error number for all errorsmadmaxoft@gmail.com1-8/+29
2012-02-06cSocket: re-implemented the GetLastErrorString() function; win: error texts are now queried from the system rather than enumerated by the programmadmaxoft@gmail.com1-24/+9
2012-02-05Now showing proper error messages when sockets fail :)faketruth1-12/+23
2012-02-05cSocket: added error logging to Bind() failuresmadmaxoft@gmail.com1-39/+48
2012-02-02Socket-related assert fixesmadmaxoft@gmail.com1-3/+27
2012-02-02cSocket API fix (possible invalid pointer)madmaxoft@gmail.com1-3/+2
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-9/+52
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-8/+13
2011-10-23Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth1-3/+110
2011-10-21Compiles for linuxfaketruth1-0/+14
2011-10-03MCServer c++ source filesfaketruth1-0/+30