Re: Exposing common type wrapping/unwrapping methods

2005-09-22 Thread Kevin Ryde
[EMAIL PROTECTED] (Ludovic Courtès) writes: > > Regarding `sendto', I tested it informally as follows: An AF_UNIX socket can probably exercise that. > I didn't test IPv6 stuff Something using localhost would be good. I thought at one stage to add "IN6ADDR_LOOPBACK" or something as a constant to

Re: Exposing common type wrapping/unwrapping methods

2005-09-22 Thread Ludovic Courtès
Hi Kevin, Kevin Ryde <[EMAIL PROTECTED]> writes: > Untested code cannot be accepted. AF_UNIX is easy, AF_INET6 might > depend on the system. You'll need to make something for > test-suite/tests/socket.test exercising each case, eventually. I finally wrote test cases which actually helped me fi