summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Socket.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-04-27cSocket creates the socket in Connect if no socket is present yet.madmaxoft1-2/+8
2014-03-10Fixed cast between types of different alignment in cSocketTycho1-1/+2
2014-01-27Squashed common code.madmaxoft1-14/+7
2014-01-27Fixed Linux compilation.madmaxoft1-1/+2
2014-01-27Rewritten networking to use non-blocking sockets.madmaxoft1-1/+30
2014-01-25Extracted cSocket::GetErrorString into GetOSErrorStringTycho1-52/+0
2014-01-19Rewritten SocketThreads for proper shutdown scenario.madmaxoft1-0/+19
2014-01-16Fixed SIGPIPE on cSocket::Send().madmaxoft1-1/+1
2014-01-13Removed shutdown() from socket closing.madmaxoft1-4/+0
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-24Removed a stale comment.madmaxoft1-3/+0
2013-11-24Fixed socket connection startup.madmaxoft1-7/+7
2013-08-20Small Linux fixes.madmaxoft1-2/+2
2013-06-15Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACKmadmaxoft@gmail.com1-16/+2
2013-05-25Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.madmaxoft@gmail.com1-11/+26
2013-03-05IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com1-3/+17
2013-03-05IPv6 support: fixed IP string getting on accept()madmaxoft1-13/+16
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-18/+50
2013-03-04Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com1-4/+20
2012-11-22SocketThreads fixes for crashes reported in FS #272madmaxoft@gmail.com1-3/+3
2012-11-15More valgrind fixesmadmaxoft@gmail.com1-2/+1
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-08-25cSocket doesn't use cPackets.madmaxoft@gmail.com1-23/+0
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