Go 語言 udp server 除錯工具

Akagi201發表於2016-12-09

udpdump

Repo: https://github.com/Akagi201/udpdump

Simple Golang UDP Server which dumps the incoming client sending message.

Build

  • docker: docker build -t udpdump .
  • go build main.go -o udpdump

Run

  • --host: default host is 127.0.0.1
  • --port: default port is 2202
  • --file: If set, the received data will be dumped to the file.
  • --buffer: default is 10240

相關文章