Skip to content

Instantly share code, notes, and snippets.

@m5knt
Created February 1, 2017 07:26
Show Gist options
  • Save m5knt/7117fadae1ea94a8fc3de28f251613de to your computer and use it in GitHub Desktop.
Save m5knt/7117fadae1ea94a8fc3de28f251613de to your computer and use it in GitHub Desktop.
IPMsg を送る方法
posix
echo "1:`date +%s`:送信者:送信機器:32:メッセージ" | iconv -f utf-8 -t cp932 | nc -w 1 -u 127.0.0.1 2425
win
set T=%time::=0%
set T=%T:.=0%
echo 1:%T%:送信者:送信機器:32:メッセージ | ncat -w 1 -u 127.0.0.1 2425
ipmsg /msg 127.0.0.1 メッセージ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment