summaryrefslogtreecommitdiff
path: root/include/socket.h
Commit message (Collapse)AuthorAgeFilesLines
* Stuff to make dns work protocol-independentGravatar brain2007-02-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6506 e03df62e-2008-0410-955e-edbf42e46eb7
* Not safe for use yetGravatar brain2007-02-051-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7
* Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, ↵Gravatar brain2007-02-051-1/+1
| | | | | | NOT FINISHED YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6501 e03df62e-2008-0410-955e-edbf42e46eb7
* Add port type identifiersGravatar brain2007-01-011-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
* Change description for insp_aton since only a positive return means ↵Gravatar peavey2006-12-301-1/+6
| | | | | | convertion was a success. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6169 e03df62e-2008-0410-955e-edbf42e46eb7
* Unload as many modules as we can on restart, and close listenersGravatar brain2006-12-231-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068 e03df62e-2008-0410-955e-edbf42e46eb7
* And now, just to force you to recompile the *whole* ircd.. updated headers ↵Gravatar w00t2006-12-151-6/+3
| | | | | | on the headers. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7
* Socket error state stuffGravatar brain2006-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
* Document ListenSocket classGravatar brain2006-08-181-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4968 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-1/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
* Document irc::socket namespace members/classesGravatar brain2006-08-121-4/+74
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4902 e03df62e-2008-0410-955e-edbf42e46eb7
* So much stuff changed in this one, i forgot most of it.Gravatar brain2006-08-101-2/+0
| | | | | | | Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
* Move the socket functions like insp_ntoa into their own namespace. They ↵Gravatar brain2006-08-101-15/+22
| | | | | | arent really sensible to put into a class, but namespacing them out discourages developers from directly using them without explicitly saing 'using irc::sockets::BindPorts' or whatever first. Some functions such as insp_ntoa are already 'exposed' by headers that use them so 'using irc::sockets::inet_ntoa' isnt required. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828 e03df62e-2008-0410-955e-edbf42e46eb7
* Move Blocking/NonBlocking to socket.cpp and make inlineGravatar brain2006-08-091-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4806 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow nick!ident@ and ident@ portions in a CIDR mask if given, use match() ↵Gravatar brain2006-08-061-0/+1
| | | | | | without CIDR against that portion. This allows for CIDR operhosts while still matching idents (AND CIDR CHANNEL BANS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4739 e03df62e-2008-0410-955e-edbf42e46eb7
* Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR ↵Gravatar brain2006-08-061-0/+1
| | | | | | oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix CIDR functions so they workGravatar brain2006-08-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4731 e03df62e-2008-0410-955e-edbf42e46eb7
* This might well be the last commit to this dns resolver in its current form. ↵Gravatar brain2006-08-011-0/+2
| | | | | | With a bit of luck, we can make a better (always-threaded) one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612 e03df62e-2008-0410-955e-edbf42e46eb7
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵Gravatar brain2006-08-011-0/+3
| | | | | | this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
* AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6Gravatar brain2006-08-011-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
* Die windows die.Gravatar om2006-04-111-12/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3871 e03df62e-2008-0410-955e-edbf42e46eb7
* Route some more stuff through socket.h and hash_map.h. Add #define ↵Gravatar om2006-04-101-1/+2
| | | | | | protection to timer.h and remove some unneeded includes and externs from timer.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3869 e03df62e-2008-0410-955e-edbf42e46eb7
* Routing more socket includes through socket.hGravatar om2006-04-101-1/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7
* Shuffle some more includes around, const reference a few functions in inspircd.*Gravatar om2006-04-091-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove uneccessary socket includes now included in socket.hGravatar om2006-04-081-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3851 e03df62e-2008-0410-955e-edbf42e46eb7
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵Gravatar om2006-04-081-337/+13
| | | | | | going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
* - first steps towards a working IPv6 port. I'll work more on this tomorrow. :-PGravatar nenolod2006-04-081-4/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3845 e03df62e-2008-0410-955e-edbf42e46eb7
* Regression for buffering of socketsGravatar brain2006-03-261-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3760 e03df62e-2008-0410-955e-edbf42e46eb7
* Commented a lot of stuff that hasnt been commented since 1.0.2Gravatar brain2006-03-121-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7
* Complete removal of all stl stuff hereGravatar brain2006-03-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3686 e03df62e-2008-0410-955e-edbf42e46eb7
* Completely removed the dequeGravatar brain2006-03-111-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-03-111-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert more by-values to const references, optimise ConfigReader a bitGravatar om2006-03-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3606 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to socket engine, faster buffer flush and hopefully more stableGravatar brain2006-03-071-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for write errors in inspsocket (this is probably causing excessive ↵Gravatar brain2006-03-071-2/+2
| | | | | | cpu use when we have a large buffer to flush but a write error has occured (which we missed)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3518 e03df62e-2008-0410-955e-edbf42e46eb7
* Slightly more efficient write buffersGravatar brain2006-02-071-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3125 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra comments re. nonblocking DNS and use of IP addresses in constructor to ↵Gravatar brain2006-02-021-3/+9
| | | | | | speed up connect time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3022 e03df62e-2008-0410-955e-edbf42e46eb7
* Nonblocking dns for InspSocket class (used by server to server)Gravatar brain2006-02-021-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3018 e03df62e-2008-0410-955e-edbf42e46eb7
* *UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing ↵Gravatar brain2006-02-021-2/+9
| | | | | | requirement on nss_dns.so.1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Bigger read buffers on ibufGravatar brain2005-12-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2495 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Buffer memberGravatar brain2005-12-151-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2493 e03df62e-2008-0410-955e-edbf42e46eb7
* Added FlushWriteBufferGravatar brain2005-12-151-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2492 e03df62e-2008-0410-955e-edbf42e46eb7
* Commented more stuffGravatar brain2005-12-121-2/+236
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2347 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed timeout codeGravatar brain2005-12-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2344 e03df62e-2008-0410-955e-edbf42e46eb7
* Added module sockets to new engine, MAY NOT WORKGravatar brain2005-12-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2328 e03df62e-2008-0410-955e-edbf42e46eb7
* Made ibuf larger to hold more of a burstGravatar brain2005-12-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2224 e03df62e-2008-0410-955e-edbf42e46eb7
* Added proper administrativia notices to CONNECT and inbound connectionsGravatar brain2005-11-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1969 e03df62e-2008-0410-955e-edbf42e46eb7
* Added /CONNECTGravatar brain2005-11-271-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1968 e03df62e-2008-0410-955e-edbf42e46eb7
* Added reading of server link configsGravatar brain2005-11-261-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1960 e03df62e-2008-0410-955e-edbf42e46eb7