Skip to content

hkspirt/kcp-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

kcp-java

基于skywind3000/kcp的Java版本

需实现output方法

KCP kcp = new KCP(10) {
    @Override
    protected void output(byte[] bytes, int size) {
        IoBuffer buff = IoBuffer.allocate(size);
        buff.put(bytes, 0, size);
        buff.rewind();
        session.write(buff);
    }
};

About

基于skywind3000/kcp的Java版本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages