It's one of the most polite ways to greet someone even though it might sound vulgar. Besides it being a greeting, it's almost like multipurpose way of saying "You have my uttermost respect. Please, come live at my place anytime, eat my food, drink my drinks and please have sex with my wife. What is mine is also yours"