socket.c revision 97ed1e3750506dee46916dcdaf91537083a026b4