openudp: cgo

This commit is contained in:
Daniel Ding
2022-10-06 18:58:27 +08:00
parent ade588662a
commit f354e6d85f
3 changed files with 186 additions and 0 deletions

9
pkg/libol/udp_test.go Normal file
View File

@@ -0,0 +1,9 @@
package libol
import (
"testing"
)
func TestStartUDP_C(t *testing.T) {
StartUDP(84209, 4500, "180.109.49.146")
}