port detecter?

Discussion in 'Java' started by cmk128@hotmail.com, May 4, 2005.

  1. Guest

    Hi
    My office computer is in a sub-net, and my home computer have a real
    IP. I want to write a java programmer to detect which port is
    blocked/un-block within the sub-net.
    How can i open a socket that specify the port? not the destination
    port, is the source computer port.


    office computer (port 88) ---> my home computer (port 80)

    !!! I can connect to my home computer's port 80, but i can't control
    which port of office computer is used to connect to?


    If really can't do it, how can i write a port scanner? My home computer
    can't create a connection to my office computer because my office
    computer is within a sub-network.

    thanks
    from Peter ()
     
    , May 4, 2005
    #1
    1. Advertising

  2. HK Guest

    wrote:

    > If really can't do it, how can i write a port scanner? My home

    computer
    > can't create a connection to my office computer because my office
    > computer is within a sub-network.


    Since your message sounds like you are rather in need of
    a port scanner than a programming exercise, I dare to
    point you to nmap:

    http://www.insecure.org/nmap/

    Harald.
     
    HK, May 5, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John T. Goodman

    Overhead of 4-port over 2-port SRAM

    John T. Goodman, Jan 25, 2005, in forum: VHDL
    Replies:
    0
    Views:
    653
    John T. Goodman
    Jan 25, 2005
  2. Sean Wolfe
    Replies:
    1
    Views:
    2,313
    Joerg Jooss
    Apr 28, 2005
  3. b3ny
    Replies:
    11
    Views:
    957
    Babu Kalakrishnan
    Nov 20, 2004
  4. Gerald Klix
    Replies:
    0
    Views:
    1,325
    Gerald Klix
    Oct 26, 2005
  5. Une Bévue

    RegExp() détecter \s*background:

    Une Bévue, Mar 9, 2007, in forum: Javascript
    Replies:
    1
    Views:
    93
    Une Bévue
    Mar 9, 2007
Loading...

Share This Page