blob: bbc525c0b647a20224e55b1dcdfd524dad847663 [file] [log] [blame]
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -08001package tcp
2
3import (
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -08004 "net"
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -08005
6 "veyron.io/veyron/veyron2/ipc/stream"
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -08007)
8
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -08009func init() {
10 for _, p := range []string{"tcp", "tcp4", "tcp6"} {
Cosmos Nicolaouae8dd212014-12-13 23:43:08 -080011 stream.RegisterProtocol(p, net.DialTimeout, net.Listen)
Cosmos Nicolaou87c0a552014-12-02 23:05:49 -080012 }
13}