# How to detect internet connection in Unreal Editor and Project Package?

**URL:** <https://forums.unrealengine.com/t/how-to-detect-internet-connection-in-unreal-editor-and-project-package/483857>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, package-project, UE4, question\
**Created:** [May 25, 2021, 1:57am UTC](https://forums.unrealengine.com/t/how-to-detect-internet-connection-in-unreal-editor-and-project-package/483857 "2021-05-25T01:57:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f5cd9f50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f5cd9f50](https://forums.unrealengine.com/u/anonymous_user_f5cd9f50)\
**Post date:** [May 25, 2021, 1:57am UTC](https://forums.unrealengine.com/t/how-to-detect-internet-connection-in-unreal-editor-and-project-package/483857/1 "2021-05-25T01:57:50Z")

</div>

I need to be able to detect if unreal is connected to an internet connection or not in editor and package build. I have tried the HasActiveWiFiConnection() but it only returns false in the editor whether the user is connected to the internet or not. I am out of options. Can someone help me?

---

<div class="post-metadata">

**Author:** ![zgzg2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zgzg2020](https://forums.unrealengine.com/u/zgzg2020)\
**Post date:** [November 7, 2021, 4:50pm UTC](https://forums.unrealengine.com/t/how-to-detect-internet-connection-in-unreal-editor-and-project-package/483857/3 "2021-11-07T16:50:23Z")

</div>

Imagine 1,000 players playing online at the same time, Wouldn’t this cause Denial of Service for the players towards that website?
