** On May 12, Sean 'Shaleh' Perry scribbled: > >> a) read the telnetd / telnet source > >> b) look at how programs like login do it > >> > >> it boils down to you setting flags for the device. > > And for good socket tutorials, info etc. you can visit those two addresses: > > > > http://www.private.org.il/tcpip_rl.html > > http://www.lowtek.com/sockets/ > > > > or read the best book on earth -- Unix Network Programming (volume 1) by W. > Richard Stevens. If you want to write netowrk code, read his books. Covers > ipv4 and ipv6, common pitfalls, etc. I second that 100% - these books are excellent (although quite expensive :). But those above URLs contain some valuable information as well, together with real world examples. A good resource altogether.
marek
pgpBpaaz7Dx6S.pgp
Description: PGP signature