SCTP Discussions

Text archives Help


[SCTP-Discussion] Help requried


Chronological Thread 
  • From: "Venkateswarlu, KP" <kp.venkateswarlu AT digital.com>
  • To: "'discussion AT sctp.de'" <discussion AT sctp.de>
  • Cc: "'ichael.Tuexen AT icn.siemens.de'" <ichael.Tuexen AT icn.siemens.de>, "'ajung AT exp-math.uni-essen.de'" <ajung AT exp-math.uni-essen.de>
  • Subject: [SCTP-Discussion] Help requried
  • Date: Mon Jul 23 20:03:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Hello,

I have downloaded SCTP source code ( rfc 2960 ) and I am able to compile the
source code successfully.

But I am not able to execute the programs.

I have tried to run the 'sctp' executable with root priviliges using the
following command,
sctp -s [ Machine name ] -l [ Port Number ]

I got the output in my screen,

s l transmitt data is deactivated
sourceaddresses: dilinux
sourceaddresses separated: dilinux
Local Port = 5555
Remote Port = 0
heartbeat disabled !!
number of streams = 15
Logging all errors and events to file ./tmp3962.log
------ SCTP-initialized: Instance name : 1 -------
------ SCTP-initialized 2 without sourceaddresses: Instance name : 2
----
******* Main : Entering Event Loop ! ************
>


And executed client program using the following command,
"java ULPClass"

I got output in my screen,
Start by creating a new socket !
Calling ULP_REGISTER !
Sending packet !
Waiting for response !
java.net.SocketException: socket closed
Caught Exception: socket closed
Did not get valid Instance ID.

I checked log file, there it is showing like this,

12:15:59.372 - Event in Module: distribution.c............
12:15:59.372 - sctp_registerSCTP_instance called
12:15:59.375 - Event in Module: adaptation.c............
12:15:59.375 - Created raw socket 5 with options

12:15:59.375 - Event in Module: adaptation.c............
12:15:59.375 - Registered callback adl_icmp_cb...

12:18:08.717 - Event in Module: adaptation.c............
12:18:08.718 - ############### 1 Read Event(s) occurred ->
dispatch_event()########
#####

12:18:08.718 - Message from 127.0.0.1 -> activating callback
12:18:08.718 - Event in Module: adaptation.c............
12:18:08.718 - ICMP ERROR TYPE : Destination Unreachable
12:18:08.718 - Event in Module: adaptation.c............
12:18:08.718 - Destination Port Unreachable

****************************************************************************
**********
Kindly help me to resolve the problem.

Thanks in advance.

Regards,
Venkateswarlu KP
Digital India,
Bangalore,
INDIA.




Archive powered by MHonArc 2.6.19+.

Top of page