Solved ethernet doesn't work in other computer
-
Hi! What error do you get?
-
On Windows use the deployment tool to deploy your binaries
-
This post is deleted! -
@Wieland
I don't have any error, just when i try to detect the ip needed by using others computer i find nothing. I try to add the time of wait to be sure to get the information back, however I have nothing. But all works fine with my computer. -
@VRonin
Yes, that's exactly what I used. Even if i doesn't create a new install application just copy the whole folder which includs all the files necessary to execute the .exe, the file .exe can be launched. It works also fine with COM port, but If i try the ethernet part, i don't have the reply with other computer. -
what do you pass as
IP
? -
@VRonin As @Wieland said you should check whether you get any error. See here how to do this: http://doc.qt.io/qt-5/qabstractsocket.html#error
-
This post is deleted! -
... or maybe just turn off the firewall ;-)
-
Hi
as @Wieland hinted, you MUST include error handling and output.
Else its like try driving with eyes closed. :)IF using windows, the firewall can often block stuff so to test use:
To Turn Off:
NetSh Advfirewall set allprofiles state off
To Turn On:
NetSh Advfirewall set allrprofiles state on
To check the status of Windows Firewall:
Netsh Advfirewall show allprofiles