Updates for socket on linux.