- From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
- To: Mia <mia.immonen AT gmail.com>
- Cc: discussion AT sctp.de
- Subject: Re: [SCTP-Discussion] Multihoming
- Date: Wed Apr 13 19:22:02 2005
- List-id: SCTP Discussions <discussion.sctp.de>
Hi Mia,
see my comments in-line.
Best regards
Michael
On Apr 12, 2005, at 12:40 Uhr, Mia wrote:
Hi everybody!
Is there anyone that can help me with this? I am trying out the
multihoming feature with the echo_server and terminal program and dont
know:
1. where to change the max path retransmissions.
The structure SCTP_Instance_Parameters and SCTP_AssociationStatus
contains the field.
It can be modified with
int sctp_getAssocStatus(unsigned int associationID,
SCTP_AssociationStatus* status);
int sctp_setAssocStatus(unsigned int associationID,
SCTP_AssociationStatus* new_status);
and
int sctp_setAssocDefaults(unsigned short SCTP_InstanceName,
SCTP_InstanceParameters* params);
int sctp_getAssocDefaults(unsigned short SCTP_InstanceName,
SCTP_InstanceParameters* params);
2. how to create an application that sends small messages every 2 ms
for example.
You use a timer which fires every 2ms. Look at echo_tool.c to see how
timers are working.
Please note that you need an OS with a clock of granularity of less or
equal to 2ms to
run 2ms timers. Some OSes have a granularity of 10ms and need to be
recompiled (the kernel)
to get other granularities.
Thank you very much for any help!!
Best regards
Mia
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.