Does word "cup" have the same meaning in the following two sentences?

He wore a jock strap with a metal cup.

Bees filled the waxen cups with honey.
the same meaning