2 ms·
Plan 9 has dial[1] and friends, which kinda does to network connections what printf did for output. And, not surprisingly, something similar is in Go[2]. Of cou
by mhd 16y ago
Plan 9 has dial[1] and friends, which kinda does to network connections what printf did for output. And, not surprisingly, something similar is in Go[2]. Of course, we're talking libraries here, so if you really want it in the language, then you're out of luck. Although any sufficiently advanced language should make this transparent enough anyway.
[1]: http://swtch.com/plan9port/man/man3/dial.html http://swtch.com/plan9port/man/man3/dial.html
[2]: http://golang.org/pkg/net/#Conn.Dial http://golang.org/pkg/net/#Conn.Dial