summaryrefslogtreecommitdiff
path: root/src/Socket.cc
AgeCommit message (Collapse)Author
2013-12-23Fixing Linux build.Nicolas "Pixel" Noble
2013-12-21Preliminary WebSocket protocol support.Nicolas "Pixel" Noble
2013-12-20Sockets are now working properly under MSVC. I guess I broke mingw32 though, ↵Nicolas "Pixel" Noble
but we'll fix this later.
2013-12-20A few more Win32 / VisualStudio fixes.Nicolas "Pixel" Noble
2013-12-18Removing Atomic.h and all volatiles.Nicolas Noble
2013-07-16Split the Socket class into Selectable, in order to let it work with other ↵Nicolas Noble
non-socket file descriptors.
2013-01-17The Listener factory is now a StacklessTask.Nicolas 'Pixel' Noble
2013-01-17But the other fields were necessary under MacOS.Pixel
2013-01-17Making name resolution in setLocal() and connect() interruptible...Nicolas 'Pixel' Noble
2013-01-17Hmmm... sad... AI_ADDRCONFIG doesn't seem to be reliable...Nicolas 'Pixel' Noble
2013-01-17Typo.Nicolas 'Pixel' Noble
2013-01-17Slightly changing the resolution error message; plus that condition was stupid.Nicolas 'Pixel' Noble
2012-09-02Removing resolver thread, and using an asyncop instead.Nicolas "Pixel" Noble
2012-09-01Merge commit '06674e57649d536cf19715524ee40c5ad4a9026d'Nicolas "Pixel" Noble
Conflicts: includes/LuaTask.h includes/TaskMan.h includes/Threads.h src/TaskMan.cc src/Threads.cc
2012-08-29Using true C++11 initializers in classes.Nicolas "Pixel" Noble
2012-04-08Redifining yielding for operations a bit, making further refinements.Pixel
2012-04-06Dodging SIGPIPE for Unix platforms.Pixel
2012-04-03Making a few classes anonymous.Pixel
2012-04-01More code cleanup.Pixel
2011-12-11Introducing EAssert for 'Execution Assert', which won't stop the ↵Pixel
application, and will replace a bunch of RAssert around the code.
2011-12-04Refactored the Thread code a bit, and created the GlobalThread class, for ↵Pixel
threads that are created on startup.
2011-12-04Reworked some things in the architecture, mainly exceptions and asserts.Pixel
-) Removed Assert() -) Added AAssert(), IAssert(), RAssert(), TAssert() and Failure() -) Reworked all asserts in the code, and added meaningful messages to them. -) Changed the way the startup code is generated; BALAU_STARTUP is no longer necessary.
2011-11-29The TaskManager no longer waits on the pop(); instead it waits in the libev ↵Pixel
loop; also the Queue<> template changed for a naive but std-less implementation.
2011-11-29Adding the memory fence across the resolver thread, and actually using ↵Pixel
getsockopt(..., SO_ERROR) on the second spin of connect(). That'd get better results out of it.
2011-11-17Look at that. It seems that, indeed, IPv6 CAN get very retarded.Pixel
2011-11-15Balancing code a bit out of the constructor.Pixel
2011-11-15Actually, that's the proper fix for the Listener system, otherwise accept() ↵Pixel
will never stop, rendering the stop method of the Listener inneffective.
2011-11-15Moving code around for the Listener, in order to avoid too much template code.Pixel
2011-11-15Fixing the Socket code a bit, effectively making the listener system working.Pixel
2011-11-14Funny this worked so far; fixing accept().Pixel
2011-11-14Making the ResolverThread exitting properly.Pixel
2011-11-13Securing double closes in Sockets.Pixel
2011-10-18Adding a few more asserts, and using the proper function calls (ntohs ↵Pixel
instead of htons - which should be fundamentally the same, but, *shrug*)
2011-10-18Why is Win32 so not Posix ... ?Pixel
2011-10-18Fixing Darwin compilation:Pixel
-) Using clang instead of gcc for the native target (*sigh*) -) Fixing libeio (*sigh*) -) "Fixing" the connect() call in Sockets because Darwin is stupid (*SIIIIIIIGH*) Although the Threads unit test isn't working properly.
2011-10-17Making some adjustments to get the Socket code compiling under mingw32. ↵Pixel
Doesn't work though; I'm guessing IPv6 isn't really mingw32 thing. At least, it's not WinXP's. Will try later to make something that switches between IPv4 and IPv6 intelligently.
2011-10-17Adding the Socket class, and a few tools that comes with it.Pixel