From what I've read and been told when I've got flu shots it takes about 2 weeks +/- for the flu vaccine to give full protection.

You can still get the flu if you came in direct contact with the flu virus before getting the shot and/or during the period before it reaches full protection level.