port detecter?

C

cmk128

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 ([email protected])
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top