mirror of https://github.com/golang/go.git
parent
3314f8c8e3
commit
43c7fc04b8
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
arith := new(Arith);
|
||||
rpc.Register(arith);
|
||||
rrpc.HandleHTTP();
|
||||
rpc.HandleHTTP();
|
||||
l, e := net.Listen("tcp", ":1234");
|
||||
if e != nil {
|
||||
log.Exit("listen error:", e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue