Log of /trunk/net
Directory Listing
Revision
453 -
Directory Listing
Modified
Thu Jul 29 08:36:38 2010 UTC
(5 weeks, 5 days ago)
by
juli
Add a connect() that does a bind() first.
Revision
439 -
Directory Listing
Modified
Mon May 31 10:12:18 2010 UTC
(3 months, 1 week ago)
by
juli
Generalize EventCallback into TypedCallback, which takes a typed parameter
specified by the caller-back.
Revision
431 -
Directory Listing
Modified
Thu Feb 25 09:38:59 2010 UTC
(6 months, 1 week ago)
by
juli
o) Don't require an errno when constructing an Event.
Revision
415 -
Directory Listing
Modified
Thu Dec 10 18:06:02 2009 UTC
(8 months, 3 weeks ago)
by
juli
Whitespace between VPATH+= and the content.
Revision
409 -
Directory Listing
Modified
Thu Dec 10 17:49:25 2009 UTC
(8 months, 3 weeks ago)
by
juli
Switch to GNU Make in the interest of portability.
Revision
337 -
Directory Listing
Modified
Thu Sep 24 05:43:56 2009 UTC
(11 months, 1 week ago)
by
juli
Fix memory leak.
Revision
336 -
Directory Listing
Modified
Thu Sep 24 04:50:39 2009 UTC
(11 months, 1 week ago)
by
juli
Harmonize UDPClient with TCPClient.
Revision
335 -
Directory Listing
Modified
Wed Sep 23 05:17:26 2009 UTC
(11 months, 2 weeks ago)
by
juli
Improve Socket allocation in TCPClient::connect(). Callers will get the Socket
in the connect completion callback.
Revision
291 -
Directory Listing
Modified
Mon Sep 7 09:26:36 2009 UTC
(12 months ago)
by
juli
Allow *Client::connect to fail and handle gracefully in ProxyClient.
Revision
252 -
Directory Listing
Modified
Thu Aug 20 07:11:33 2009 UTC
(12 months, 2 weeks ago)
by
juli
Test IP family "localhost" along with IPv4 and IPv6 localhosts.
Revision
251 -
Directory Listing
Modified
Thu Aug 20 07:10:11 2009 UTC
(12 months, 2 weeks ago)
by
juli
Fix GNU/Linux systems that don't know about an IPv6 host named "localhost" by
specifying "localhost" for IPv4 and "::1" for IPv6.
Revision
247 -
Directory Listing
Modified
Thu Aug 20 06:40:43 2009 UTC
(12 months, 2 weeks ago)
by
juli
o) Add the SocketAddressFamilyIP type which auto-detects IPv4 or IPv6.
o) Pass the address as a hint to Socket::create where applicable.
o) Make socket_address::operator() use getaddrinfo(3) to find an appropriate
address in the desired family and to handle family inference when passed
AF_UNSPEC.
o) Remember the socket type and numeric protocol to facilitate getaddrinfo(3).
o) Reorder Socket::create to make it possible to determine which IP family to
use based on an address hint passed in.
o) While here make Socket::create's protocol argument default to empty.
o) Don't pass an empty protocol by hand to Socket::create for Unix domain
sockets anymore.
o) Make the WANProxy default configuration use the IP address family and the
"localhost" name so that it uses IPv4 or IPv6 as appropriate for that
system.
Revision
232 -
Directory Listing
Modified
Sat Aug 15 10:40:15 2009 UTC
(12 months, 3 weeks ago)
by
juli
Add a UDPServer and a UDP client-server test.
Revision
218 -
Directory Listing
Modified
Thu Aug 13 07:12:35 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Support IPv4 and IPv6 get*name() in a sane-ish manner.
o) Support IPv6 address parsing on non-Slowlaris systems.
o) Test TCP over IPv6.
Revision
215 -
Directory Listing
Modified
Thu Aug 13 06:53:01 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Move Socket{AddressFamily,Type} enums to new <io/socket_types.h> for
consumers of the types but not the Socket API.
o) Make the configuration system use the SocketAddressFamily instead of its own
hand-rolled thing.
o) Make the Unix client/server API ask for the SocketType since that can vary,
but the SocketAddressFamily is implicit.
o) Make TCP* and UDP* API ask for the SocketAddressFamily. The rest is implied.
o) Modify a test so that it will be possible to sneak IPv6 into it RSN.
Revision
213 -
Directory Listing
Modified
Thu Aug 13 06:16:23 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Add enumerators for socket domains and types rather than using the
Unix names everywhere.
o) Add a few stub IPv6 allusions.
Revision
212 -
Directory Listing
Modified
Thu Aug 13 01:38:40 2009 UTC
(12 months, 3 weeks ago)
by
juli
Put hostnames in brackets, just to be sure.
Revision
206 -
Directory Listing
Modified
Wed Aug 12 23:05:12 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Switch to single-string connect() and bind().
o) Make ports strings.
o) Use getsockname() to construct the listening address if bind() with
port of 0, rather than passing in a pointer to the port, simplifying
the API for non-0 code.
o) Add getsockname() pass-through to TCPServer.
Revision
191 -
Directory Listing
Modified
Thu Jul 30 10:03:03 2009 UTC
(13 months, 1 week ago)
by
juli
Record io's dependency on event and net's dependency on event and io.
XXX This approach is kind of ugly. Perhaps just REQUIREMENTS or DEPENDENCIES
or something and either make it hard to find out which library's requirement
is unmet, or make it slightly less ugly at best, like, DEPENDENCIES+=io:net
rather than IO_DEPENDENCIES+=net. Almost better to just hard-code it. But
not quite.
Revision
179 -
Directory Listing
Modified
Sat Jun 27 09:21:33 2009 UTC
(14 months, 1 week ago)
by
juli
Move program.mk into common/ to make tab-completion of programs/ less ugly and
to hide implementation details from the top-level file list.
Revision
124 -
Directory Listing
Added
Tue Apr 7 07:54:55 2009 UTC
(17 months ago)
by
juli
Move networking-specific code out to 'net' library. Mostly wrappers for now,
but I'm sure that will change.