-
Notifications
You must be signed in to change notification settings - Fork 136
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
KCP Example server WithBlockCrypt unresolved reference #7
Comments
Did you use latest rpcx? Did you add kcp inbuildtags? |
Thanks - that fixed it.. |
Runs.. however - it now shows INFO "network is not tcp/tcp4/tcp6 so can not start gateway" - looking at the code, using value for s.Serve of kcp will always show this message so maybe does not matter. The client successfully connects to the server and gets the response - but with packet inspection I see lots of 'unknown destination' packet errors, which keep coming in even after the client exits. Any thoughts? |
You can ignore the INFO log . It only works for tcp transport. For the second case, I think it should be the kcp-go issue. |
Exact code as shown in the KCP example -
s := server.NewServer(server.WithBlockCrypt(bc))
This line cannot be compiled as the .WithBlockCrypt is an unresolved reference (kcp is visble)
The text was updated successfully, but these errors were encountered: