- From: norbert.demeter AT arcor.de
- To: michael.tuexen AT micmac.franken.de, norbert.demeter AT arcor.de
- Cc: sctp-discussion AT sctp.de
- Subject: Aw: Re: [SCTP-Discussion] How to use STT?
- Date: Tue, 2 Dec 2008 09:04:03 +0100 (CET)
- List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
- List-id: SCTP Discussions <sctp-discussion.sctp.de>
Hi Michael,
I am still getting problems like this:
guile> (sctp-as-v-1-1-2 (make-ipv4-address "10.2.111.58") 5000 5000)
<unnamed port>: In expression (associate-from-port peer-addr local-port ...):
<unnamed port>: Unbound variable: associate-from-port
ABORT: (unbound-variable)
guile>
Can you please help?
In the meantime I will try to give the input parameters directly in the .scm
like you proposed.
Thanks a lot,
/Norbert
----- Original Nachricht ----
Von: Michael Tuexen
<Michael.Tuexen AT micmac.franken.de>
An:
norbert.demeter AT arcor.de
Datum: 01.12.2008 19:31
Betreff: Re: [SCTP-Discussion] How to use STT?
>
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
>
>
>
>
>
>
--------------------------------
>
>
_______________________________________________
>
sctp-discussion mailing list
>
sctp-discussion AT sctp.de
>
http://www.sctp.de/mailman/listinfo/sctp-discussion
>
Archive powered by MHonArc 2.6.19+.