DNS query: Difference between revisions

441 bytes added ,  13 years ago
m
→‎{{header|Tcl}}: Minor descriptive notes
m (→‎{{header|Tcl}}: output format tweak)
m (→‎{{header|Tcl}}: Minor descriptive notes)
Line 82:
 
=={{header|Tcl}}==
While Tcl does internally do address resolution, it doesn't directly support looking up addresses without actually connecting to them. This is left to support packages to provide. An additional complexity is that while the DNS protocol itself is defined to work with both TCP and UDP as the transport layer, Tcl only supports TCP sockets by default (because they have a stream model) whereas DNS is typically only deployed with UDP enabled.
{{tcllib|dns}}
{{libheader|udp}}
Anonymous user