renamed tuple socket to lsock.