Uses & syntax of classes

hi friends,

I am making a chatting messenger using socket programming in java,I have some problem in establishing chatting session between two clients,where server just provide socket address of thec2 toc1,and then two client connect to each other and then send message without passing that message through server.But i have some problem doing these.

Will you please tell,is what i had tell above is possible,if yes then plz tell me how to do it;Secondly i learned about(class SocketImpl, SocketAddress,InetSocketAddress),but i dont know how to use it in my application, &will these class be needed in my application.Plz give some good link where i can learned about that classes.

please help me & thank you for suggession

[780 byte] By [alok_agrawala] at [2007-11-26 19:17:13]
# 1
You don't need to worry about SocketImpl but you do need to look at ServerSocket and the Java networking tutorial.
ejpa at 2007-7-9 21:31:10 > top of Java-index,Archived Forums,Socket Programming...