Skip to content

chensoft/lua-kcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-kcp

Lua bindings for https://github.com/skywind3000/kcp

Install

use luarocks install kcp

Initial

  • create(conv, func)
  • getconv()

Methods

  • recv()
  • send(data)
  • update(current)
  • check(current)
  • input(data)
  • flush()
  • wndsize(sndwnd, rcvwnd)
  • nodelay(nodelay, interval, resend, nc)
  • peeksize()
  • setmtu(mtu)
  • waitsnd()
  • logmask()
  • sndcnt()
  • timeoutcnt()
  • fastsndcnt()
  • minrto(rto)

About

Lua bindings for KCP, with LuaRocks & CMake support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.3%
  • C++ 13.7%
  • Lua 4.0%
  • CMake 2.0%