GA for socket connection