/go-udtwrapper

Go (golang) wrapper for the UDT networking library

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

go-udtwrapper

go-udtwrapper is a cgo wrapper around the main C++ UDT implementation.

This repository is the fork of the original getlantern/go-udtwrapper. Several other forks are merged together here. Mainly it is based on jbenet/go-udtwrapper, mixed up with fffw/go-udtwrapper and Syncbak-Git/go-udtwrapper. Original authors have been preserved for all imported commits, though some commits were modified due to rebase and some commits were omitted.

Usage

Tools:

  • udtcat - netcat using the udt pkg
  • benchmark - benchmark for comparison of tcp and udt streams

Try:

(cd udtcat; go build; ./test_simple.sh)

Supported Platforms

ARCH/OS Linux Mac OSX Windows
x86/i386 ? ? ?
x86-64/amd64 YES ? YES*

*Golang doesn't support SEH exception handling(golang/go#12516). Use mingw-w64 with sjlj handling and without pthread wrapper under windows.