SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] How to use STT?


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: norbert.demeter AT arcor.de
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] How to use STT?
  • Date: Mon, 1 Dec 2008 19:31:58 +0100
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Hi Norbert,

see comments in-line.

Best regards
Michael

On Dec 1, 2008, at 3:14 PM,
norbert.demeter AT arcor.de
wrote:

Hi,

To be honest I do not have much experience with guile and Scheme so some initial help would be very welcome.

I would like to get help to run the SCTP testcases included in sctp- test-1.3. What I have done so far was the installing of STT, and replacing the default .scm with one found in the test suite. Problem is that I do not know how to give the input parameters like peer/ local addresses, ports, etc. I am getting errors where guile is complaining about certain syntactical errors:


guile> (sctp-as-v-1-1-2 ("10.2.111.58" 5000 5000))
standard input:1:1: In expression (sctp-as-v-1-1-2 ("10.2.111.58" 5000 5000)):
standard input:1:1: Wrong number of arguments to #<procedure sctp-as- v-1-1-2 (peer-addr local-port peer-port)>
ABORT: (wrong-number-of-args)

Could someone show me examples of running these testcases?
(sctp-as-v-1-1-2 (make-ipv4-address "10.2.111.58") 5000 5000)
should work...

You might want to have a look at sctp-param-testtool.scm.
If you change it to
(define sut-address (make-ipv4-address "10.2.111.58"))
(define sut-port 5000)
(define tester-port 5000)
and load it then you can use
(sctp-as-v-1-1-2 sut-addr tester-port sut-port)
This is exactly the command show in the comment after
the definition of sctp-as-v-1-1-2.

I hope that helps...


Thanks a lot in advance,
/Norbert
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion






Archive powered by MHonArc 2.6.19+.

Top of page