how to manage wireless network through java?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priteshdube
    New Member
    • Jul 2009
    • 3

    how to manage wireless network through java?

    hi frns,
    presently i am working on ad hoc networks.i have to establish a wireless network with 4 devices which are bluetooth enable.now i want to design an algorithm in java for the device detection..plea se help me out..


    prit...
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Seeing how this is actually a Java coding question, I am migrating it over to the Java forum.

    Regards,

    Jeff

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Without JNI (Java Native Interface) Java doesn't know anything about WiFi networks, as a matter of fact Java doesn't know anything about wired networks either. All it knows about are sockets, IP addresses, and stuff built on top of that.

      kind regards,

      Jos

      Comment

      • priteshdube
        New Member
        • Jul 2009
        • 3

        #4
        Hey thanks buddies...

        Comment

        • priteshdube
          New Member
          • Jul 2009
          • 3

          #5
          I want to clear things here. i have two bluetooth dongals and i use them to create a wireless network.now my task is to provide authentication if any new device is come into the network.

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #6
            Originally posted by priteshdube
            I want to clear things here. i have two bluetooth dongals and i use them to create a wireless network.now my task is to provide authentication if any new device is come into the network.
            The lowest level stuff Java can do is open a socket given an IP address (or a host name but you need to do a reverse dns lookup for that) and a port number. Java is totally unaware of the hardware interfaces underneath.

            kind regards,

            Jos

            Comment

            Working...