Giter Site home page Giter Site logo

Comments (9)

bk138 avatar bk138 commented on August 26, 2024 1

Pinging me won't speed this up - am currently super busy with πŸ‘Άcare due to πŸ‘‘. It will not be forgotten, I promise.

from droidvnc-ng.

bk138 avatar bk138 commented on August 26, 2024

True. Happily accepting pull requests.

from droidvnc-ng.

amroessam avatar amroessam commented on August 26, 2024

Is there a reason it's not on 0.0.0.0? That'll just bind it to all interfaces.

from droidvnc-ng.

bk138 avatar bk138 commented on August 26, 2024

Don't remember exactly TBH - that might just work, yes.

from droidvnc-ng.

amroessam avatar amroessam commented on August 26, 2024

Just replace all the code of getIPv4AndPort with this

public static String getIPv4AndPort() {

        int port = 5900;

        try {
            SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(instance);
            port = prefs.getInt(Constants.PREFS_KEY_SETTINGS_PORT, 5900);
        } catch (NullPointerException e) {
        }

        return "0.0.0.0:" + port;

    }

from droidvnc-ng.

amroessam avatar amroessam commented on August 26, 2024

#15
Please review and merge :)

from droidvnc-ng.

amroessam avatar amroessam commented on August 26, 2024

@bk138

from droidvnc-ng.

amroessam avatar amroessam commented on August 26, 2024

Good luck with the baby

from droidvnc-ng.

bk138 avatar bk138 commented on August 26, 2024

Nevermind, 65ef953 is flaky. The server binds to 0.0.0.0 in any case, getIPv4AndPort() is just for display purposes. The new commits fix the display.

from droidvnc-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.