Port Scanning

How would I use Java to scan ports?
[42 byte] By [Zarathua] at [2007-10-2 20:15:25]
# 1
Why do you want to know?
ejpa at 2007-7-13 22:57:43 > top of Java-index,Java Essentials,Java Programming...
# 2
You should write port scanning application.
Michael.Nazarov@sun.coma at 2007-7-13 22:57:43 > top of Java-index,Java Essentials,Java Programming...
# 3
@OP. You do realize that most companies will consider a port scan as a hacking attempt, and that they might contact your ISP. Kaj
kajbja at 2007-7-13 22:57:43 > top of Java-index,Java Essentials,Java Programming...