x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to know if devices is connected to network?

Hello, i wanted to know if there's a way to check if the current device is connected to a network via blueprints? or if there's a way in C++ i don't mind, it's just that i don't know that much of C++.

I've found a way but read that it was a solution for windows, so in case you need it, i'm most interest in learning this for mobile ( Android & IOS)

This is what i've found:

 if(InternetCheckConnection(L"http://www.google.com",FLAG_ICC_FORCE_CONNECTION,0))
 {
         cout << "connected to internet";
 }
Product Version: Not Selected
Tags:
more ▼

asked Dec 19 '14 at 01:46 PM in Blueprint Scripting

avatar image

DylanVelez
198 38 36 43

avatar image Sendy50 Mar 27 '19 at 06:03 AM

Are you found solution of above question ?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Ok so i figured it out, at least for mobile. There's a blueprint node called "Connect to service" which returns an execution pin indicatend if it succeeded to connect or if it failed, one could use said node to know if the device is connected to a network.

more ▼

answered Dec 19 '14 at 11:29 PM

avatar image

DylanVelez
198 38 36 43

avatar image abhishek17 Mar 26 '15 at 04:43 PM

Hi. Connect to service doesn`t work for PC. Is there something that can be detect internet connection on a PC?

Any help would be greatly appreciated.

avatar image abhishek17 Mar 26 '15 at 05:10 PM

I couldn`t find anything as InternetCheckConnection in Unreal. Which file has this function call?

avatar image ocramot May 11 '16 at 01:54 PM

Connect to Service is now deprecated, documentation suggests to use Show External Login UI instead.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question