Gobang game using socket