fix UDP get sock name

Bad namespace for class