Skip to content

Conversation

@404669366
Copy link

listener, _ := kcp.ListenWithOptions(":8081", nil, 10, 3)
defer listener.Close()
session, _ := listener.AddConn("127.0.0.1:8080")
go func() {
for {
time.Sleep(time.Second)
session.Write([]byte("123,123,123"))
}
}()

@xtaci
Copy link
Owner

xtaci commented Dec 9, 2025

这个的使用场景是什么呢?

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

Successfully merging this pull request may close these issues.

2 participants