Implement time computing in active sockets