How to get socket id of a Node.js socket.io clien

When i run my nodeJS code,i found some heartbeat are emitting for client with client socketid. Here is debug code -

debug - emitting heartbeat for client D2ce41SGs_Rp-qiRKndU

debug - websocket writing 2::

debug - set heartbeat timeout for client D2ce41SGs_Rp-qiRKndU

debug - got heartbeat packet

debug - cleared heartbeat timeout for client D2ce41SGs_Rp-qiRKndU

debug - set heartbeat interval for client D2ce41SGs_Rp-qiRKndU

Is there any way to get socket_id of client. In this case it is --> D2ce41SGs_Rp-qiRKndU

At least for Socket.IO 1.0+ there is an id property on each socket object.