Closed waterloopwm closed 2 years ago
service := rpc.NewHTTPService() service.Event = myServiceEvent{} service.AddFunction("hello", hello) http.ListenAndServe(":5881", service)
默认监听是tcp6,怎么弄成tcp4
这个hprose控制不了,你看看go默认的http包是怎么配置的吧。
默认监听是tcp6,怎么弄成tcp4