Skip to content
A Go wrapper for the C based ENet UDP network library.
Go
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
.gitignore
README.md
address.go
event.go
goenet.go
host.go
packet.go
peer.go

README.md

Go ENet

A Go wrapper for the C based ENet UDP network library.

Install

go get github.com/boj/goenet

Documentation

Located at GoDocs.

Existing Caveats

Currently when using NewPacket to build a packet, the data parameter is required to be of type []byte. Data is also returned as such.

The peer->data interface is strictly a stub until I can figure out how to easily put arbitrary data in there from Go. This is somewhat related to the above issue.

TODO

  • Verify all ENet related methods work as intended.
  • Optimizations.
  • Benchmarks.
  • Testing where applicable.

Acknowledgements

ENet - MIT license.

Author

Brian 'bojo' Jones mojobojo@gmail.com

License

http://boj.mit-license.org/

Something went wrong with that request. Please try again.