PDA

View Full Version : Sockets in java


7king7
May 24th, 2006, 04:49 PM
I am writing chat application with SIP, i tried to send invite request but sip throws exception. It seems there is a problem with opening socket.
In Windows it works. Please help me i don`t want to go back using Windows.

daneel_olivaw
May 25th, 2006, 09:23 AM
what's a SIP? :-k
using sockets with Java is very simple.. what does the exception say?
do you use a specific API or the standard one (ServerSocket & Socket classes in the java.net package)?

gekkio
June 12th, 2006, 11:30 AM
Can you give some more information?
Are you using some SIP Java library or just plain Java Sockets?
And which Java JDK are you using (java -version)?
Also, some actual code (and the errors you are seeing) would be helpful. I'm not familiar with SIP but I might be able to help anyway.

jvictor
June 12th, 2006, 12:55 PM
sip throws exception is too generic , plz put in the stack trace