socket:server()
socket:client() 内にそれぞれ記述

chat socket buf[1024]を宣言し、受信するごとに更新する