summaryrefslogtreecommitdiff
path: root/src/socketengine_iocp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back to 1.1.12 socket engine as a testGravatar brain2007-10-211-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8274 e03df62e-2008-0410-955e-edbf42e46eb7
* Change how the socket engines work when you addfd on an fd that already exists.Gravatar brain2007-10-211-1/+1
| | | | | | | the only SANE outcome is that youve forgotten to DelFd, so it does this for you. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8270 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, error from an svnmerge v1.1.13Gravatar brain2007-09-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8095 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport fix for bug #407Gravatar brain2007-09-251-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8078 e03df62e-2008-0410-955e-edbf42e46eb7
* A couple of tweaks that i did earlier as diffs. ISON didnt always respect ↵Gravatar brain2007-07-231-0/+3
| | | | | | invisibility state of users. socketengine iocp didnt range check fd's before passing them for array lookup git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7502 e03df62e-2008-0410-955e-edbf42e46eb7
* * Sockets will now always be nonblocking on win32 version of InspIRCd. There ↵Gravatar burlex2007-07-231-0/+12
| | | | | | | | were some cases (mainly in TreeSockets) where a socket would not get restored to nonblocking mode after a connect() call, resulting in the server getting stuck on a blocking send() call causing freezeups. * configure will now compile under VC7 again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7500 e03df62e-2008-0410-955e-edbf42e46eb7
* I broke socketengine_iocp with some fixes. Fixed again. v1.1.10Gravatar brain2007-07-211-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7488 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, someone forgot to check the return value when initializing windows IOCPGravatar brain2007-07-191-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7476 e03df62e-2008-0410-955e-edbf42e46eb7
* Validation checks that seem to have been omitted here.Gravatar brain2007-07-171-6/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7469 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+376
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-376/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Whack a ^MGravatar brain2007-06-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7319 e03df62e-2008-0410-955e-edbf42e46eb7
* - Made the recvfrom wrapper a bit neater.Gravatar burlex2007-06-141-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7314 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fixed UDP Overlapped I/O under windows. (not the best way this could be ↵Gravatar burlex2007-06-141-9/+34
| | | | | | done by far, but probably the best that is possible with our EventHandler setup). *dns will now work under win32* :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7313 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed IOCPEngine under x64 (because of incorrect pointer sizes)Gravatar burlex2007-06-131-5/+8
| | | | | | - Fixed configure / VC8 projects for x64 compiling. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7293 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the behaviour of insp in windows to keep its window open, with some ↵Gravatar brain2007-06-021-1/+1
| | | | | | | | | status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :( Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7217 e03df62e-2008-0410-955e-edbf42e46eb7
* All the other socketengines have a 1s wait on their 'poll' equivalent. ↵Gravatar brain2007-05-291-1/+1
| | | | | | GetQueuedCompletionStatus had a delay of 100ms. Upped to 1s to be more sane and more in line with the other socket engines. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7185 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up to coding styleGravatar brain2007-05-251-46/+55
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7139 e03df62e-2008-0410-955e-edbf42e46eb7
* try...catch around the map::insert in AddFd, for some reason it throws ↵Gravatar brain2007-05-201-1/+10
| | | | | | sometimes. If it does, we return false, which the core can handle neatly as 'failed to add fd' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7065 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove asserts and convert to unix line endingsGravatar brain2007-05-201-271/+271
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7064 e03df62e-2008-0410-955e-edbf42e46eb7
* Helps if I add the w32 specific code, too. :pGravatar w00t2007-05-191-0/+323
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7044 e03df62e-2008-0410-955e-edbf42e46eb7