modified checkNet
Merge pull request #1 from peekaboo-4869/master

update CheckNet.java