The answer to this question is heavily circumstantial, However to assist this could be more of a networking problem than an xbox problem. How does your PC connect to the internet? How does your xbox connect to the internet? What type of wifi router do you use?
Is your wifi password protected...