[fpc-devel]ipv6 resolving

Johannes Berg johannes at sipsolutions.com
Sun Nov 23 11:34:35 CET 2003


Hi,

> Applied, thank you.

Thanks :)

> > And the test program needs my other patch with ipv6 structures to work.
> 
> I must have missed those. Can you please send them again ?
> (Unless someone else applied them already)

No, I don't think they're applied, see attached.
Could you also apply this:
--- rtl/inc/sockets.inc 22 Nov 2003 21:58:09 -0000      1.10
+++ rtl/inc/sockets.inc 23 Nov 2003 10:31:13 -0000
@@ -105,7 +105,7 @@
   FileRec(SockOut).Handle:=Sock;
   FileRec(SockOut).RecSize:=1;
   FileRec(SockOut).userdata[1]:=S_OUT;
-  FileRec(SockOut).Mode := fmAppend;
+  FileRec(SockOut).Mode := fmOutput;

I messed up with that before and Marco fixed sock2text but apparently
not sock2file. I thought fmAppend would be better, but apparently that
flag is not supposed to ever be set in such a structure.

Also, netdb needs cleaning up, I'll do that soon and send another patch
then. I also forgot to add CNAME records to the ipv4 functions (which
will be just a code copy).

johannes
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <johannes at sipsolutions.de>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip6structures.patch
Type: text/x-patch
Size: 1293 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031123/917fb529/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031123/917fb529/attachment.sig>


More information about the fpc-devel mailing list