func (s *System) NewTransport(workerID n.WorkerID, addr net.Addr) n.Transport {
	u := tele.NewStructOverTCP()
	l := newListener(workerID, os.Getpid(), u.Listen(addr))
	return &Transport{
		WorkerID: workerID,
		Dialer:   newDialer(l.Addr(), u),
		Listener: l,
	}
}
// workerID is the ID for this transport endpoint.
// addr is the networking address to listen to.
workerID is the ID for this transport endpoint.
addr is the networking address to listen to.
// workerID is the ID for this transport endpoint . // addr is the networking address to listen to .
func (s *System) NewTransport(workerID n.WorkerID, addr net.Addr) n.Transport {
	u := tele.NewStructOverTCP()
	l := newListener(workerID, os.Getpid(), u.Listen(addr))
	return &Transport{
		WorkerID: workerID,
		Dialer:   newDialer(l.Addr(), u),
		Listener: l,
	}
}
func ( s * System ) NewTransport ( workerID n . WorkerID , addr net . Addr ) n . Transport { u := tele . NewStructOverTCP ( ) l := newListener ( workerID , os . Getpid ( ) , u . Listen ( addr ) ) return & Transport { WorkerID : workerID , Dialer : newDialer ( l . Addr ( ) , u ) , Listener : l , } }
workerID is the ID for this transport endpoint.
workerID is the ID for this transport endpoint .