For Home visits, there is a separate discussion as you will need to define the guest and occasion first to proceed.so yr frens come to yr house u also must dress up? is tat the rule? i never bother cos it's my home and I wear shorts and t-shirt even when my frens are over for dinner wearing proper shirt and pants jeans.
Eg if you are expecting a mp, a pastor etc to come, you need to at least grab a shirt minimum collared to round neck (not singlet tank top etc) to receive the guest. In this case, the host can be of lower dress code. However if you are inviting them to your home for a party or ceremony, then again you need to be of same or higher dress code than the guest.
If is your friend, define the friendship level.
The same.person coming to your house and meeting outside the same rules applies
.