[C言語]

UDPのサンプルコード
http://linuxjm.sourceforge.jp/html/LDP_man-pages/man3/getaddrinfo.3.html

実行方法がよくわからなかったので、メモ
サーバ側

$ ./server echo &
[1] 5376

クライアント側

$ ./client localhost echo hello, client
Received 7 bytes from TDa01:1040
Received 7 bytes: hello,
Received 7 bytes from TDa01:1040
Received 7 bytes: client