Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行example_server.go报错 #6

Open
sc-zhangshijie opened this issue Apr 6, 2021 · 0 comments
Open

运行example_server.go报错 #6

sc-zhangshijie opened this issue Apr 6, 2021 · 0 comments

Comments

@sc-zhangshijie
Copy link

github.com/1lann/go-sip/server

..\lineme-server\other\src\github.com\1lann\go-sip\server\invite.go:65:24: cannot use to (type *sipnet.Conn) as type net.Conn in argument to initialRequest.WriteTo:
*sipnet.Conn does not implement net.Conn (missing LocalAddr method)
..\lineme-server\other\src\github.com\1lann\go-sip\server\invite.go:82:16: cannot use to (type *sipnet.Conn) as type net.Conn in argument to req.WriteTo:
*sipnet.Conn does not implement net.Conn (missing LocalAddr method)
..\lineme-server\other\src\github.com\1lann\go-sip\server\invite.go:124:16: cannot use from (type *sipnet.Conn) as type net.Conn in argument to req.WriteTo:
*sipnet.Conn does not implement net.Conn (missing LocalAddr method)
..\lineme-server\other\src\github.com\1lann\go-sip\server\invite.go:177:21: cannot use toConn (type *sipnet.Conn) as type net.Conn in argument to r.WriteTo:
*sipnet.Conn does not implement net.Conn (missing LocalAddr method)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant