Potential way to fix the problem with cross compatibility.

The use of the #if statements could work
Merge pull request #36 from SbSpider/networking

Potential way to fix the problem with cross compatibility.