It depends on the terms of the sub license. When you grant a sole and exclusive sub license and do not retain any rights for yourself you have effectively sold your license. However, I can grant a sole and exclusive sub license without selling by making the grant contingent upon annual royalties.