LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Develop chat program using SCTP protocol (https://www.linuxquestions.org/questions/linux-networking-3/develop-chat-program-using-sctp-protocol-680739/)

phase_ram 11-02-2008 09:56 PM

Develop chat program using SCTP protocol
 
Could any one help me in developing chat program using SCTP protocol in java??? I have got the package that work in java. But the provider said me about modifying the dk_i1_sctp_SCTPSocket.cc file depending on the
version of lksctp installed on machine. But i don't have the knowledge of changing that .cc file. The program get compiled but when i run using "java SCTPTest" then there appears the problem. How could i run that program in redhat environment. If any one has answer and further query then contact me.

TB0ne 11-03-2008 03:22 PM

Quote:

Originally Posted by phase_ram (Post 3329653)
Could any one help me in developing chat program using SCTP protocol in java??? I have got the package that work in java. But the provider said me about modifying the dk_i1_sctp_SCTPSocket.cc file depending on the
version of lksctp installed on machine. But i don't have the knowledge of changing that .cc file. The program get compiled but when i run using "java SCTPTest" then there appears the problem. How could i run that program in redhat environment. If any one has answer and further query then contact me.

No, that's not usually the way it works around here. I doubt anyone is going to email you...if you'd like the answer, you'll have to also participate in the forums.

Your question is very vague...you say you had to modify a certain file, but don't say how. You also say it gets compiled, "there appears the problem"....WHAT problem? What error(s) are you getting?

And if your provider gave you this information to start with, have you contacted your provider for help, regarding their instructions???

phase_ram 11-05-2008 01:49 AM

thanks n help me
 
Quote:

Originally Posted by TB0ne (Post 3330538)
No, that's not usually the way it works around here. I doubt anyone is going to email you...if you'd like the answer, you'll have to also participate in the forums.

Your question is very vague...you say you had to modify a certain file, but don't say how. You also say it gets compiled, "there appears the problem"....WHAT problem? What error(s) are you getting?

And if your provider gave you this information to start with, have you contacted your provider for help, regarding their instructions???

Thanks for ur response n i am very pleased that somebody has responsed me.If u provide me the mail address then i will provide u the package or i will provide u the link which he has provided to me

http://i1.dk/JavaSCTP/dist/JavaSCTP-0-5-7-src.tar.gz


After extracting it i tried to run the program SCTPTest.java but i couldn't do it.When i tried to run the following error appears:

[root@localhost JavaSCTP-0-5-7-src.tar.gz_FILES]# java SCTPTest

Exception in thread "main" java.lang.UnsatisfiedLinkError: no dk_i1_sctp in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at dk.i1.sctp.SCTPSocket.<clinit>(SCTPSocket.java:14)
at SCTPTest.main(SCTPTest.java:12)

How could i resolve this problem??I think u have the answer. If no answer then how could i build the chat program using SCTP protocol in java. If u have any idea then share with me and help me in building it then i will be gratefull to u.
Hoping for ur reply.

Regards
Ram

TB0ne 11-05-2008 08:17 AM

Quote:

Originally Posted by phase_ram (Post 3332146)
If u provide me the mail address then i will provide u the package or i will provide u the link which he has provided to me

After extracting it i tried to run the program SCTPTest.java but i couldn't do it.When i tried to run the following error appears:

[root@localhost JavaSCTP-0-5-7-src.tar.gz_FILES]# java SCTPTest

Exception in thread "main" java.lang.UnsatisfiedLinkError: no dk_i1_sctp in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at dk.i1.sctp.SCTPSocket.<clinit>(SCTPSocket.java:14)
at SCTPTest.main(SCTPTest.java:12)

How could i resolve this problem??I think u have the answer. If no answer then how could i build the chat program using SCTP protocol in java. If u have any idea then share with me and help me in building it then i will be gratefull to u.

I will not fix your program for you. You still don't say how you modified the program, or what you've tried, other than trying to run it. If you got this from someone else, with instructions, I suggest you contact them, and get their help.

It seems like you're missing a part of the program you need. Follow the instructions you were provided with that program.

phase_ram 11-06-2008 12:27 AM

Quote:

Originally Posted by TB0ne (Post 3332399)
I will not fix your program for you. You still don't say how you modified the program, or what you've tried, other than trying to run it. If you got this from someone else, with instructions, I suggest you contact them, and get their help.

It seems like you're missing a part of the program you need. Follow the instructions you were provided with that program.

He has provided me the .tar.gz file n he told me to run the program that he has provided n i couldn't do it. And tried to contact him but he didn't reply me. I have send many emails to him but he didn't reply to me. I am in a serious problem. Could u help me to build the chat program using sctp in ur own coz sctp is not supported by java so i need a compiler to compile the program that was provided by that man please check the link n tell me what file is missing i'll tried to contact him n tell him about the missing file.

Regards
Ram

TB0ne 11-06-2008 08:22 AM

Quote:

Originally Posted by phase_ram (Post 3333120)
He has provided me the .tar.gz file n he told me to run the program that he has provided n i couldn't do it. And tried to contact him but he didn't reply me. I have send many emails to him but he didn't reply to me. I am in a serious problem. Could u help me to build the chat program using sctp in ur own coz sctp is not supported by java so i need a compiler to compile the program that was provided by that man please check the link n tell me what file is missing i'll tried to contact him n tell him about the missing file.

Regards
Ram

Again, no...I will not build or debug your program for you.

You still have not said how you modified the program, what you've tried, or provided any details about what the provider told you. Get him to help you, since you won't provide any information for folks here to try to help you.

santhu538 05-19-2010 07:21 PM

Chat program using sctp over sip?
 
Hi friends.
I need this kind of chat program using sctp over sip .
Does anybody has any idea?
Please help me.

Thank you.

TB0ne 05-19-2010 07:44 PM

Quote:

Originally Posted by santhu538 (Post 3974780)
Hi friends.
I need this kind of chat program using sctp over sip .
Does anybody has any idea?
Please help me.

Thank you.

Don't reopen two-year old threads, and then hijack them with your own question. Google can provide you links to such programs. Start there


All times are GMT -5. The time now is 02:25 PM.