java.net.InetSocketAddress

hi

I am new to Network programming in JAVA. I am using Socket in my program and try creating a socket connection.

For that i need to use InetSocketAddress class. When i try importing that class, it gives me an error. Seems not recognizing this class in the package java.net...do i need to add any jar files?

I am using jdk1.4.2

please help me out...its urgent

Thanks in advance.

[415 byte] By [tech_b_ka] at [2007-11-26 23:57:40]
# 1
import java.net.InetSocketAddress;Works for me. You don't need any JAR files, just a JDK >= 1.4.
ejpa at 2007-7-11 15:44:39 > top of Java-index,Core,Core APIs...