- From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
- To: discussion AT sctp.de, Held Martin ICM N MC MI E 6 <Martin.Held AT icn.siemens.de>
- Subject: Re: AW: [SCTP-Discussion] Comments on Update on API definition (sctp. h)
- Date: Wed Feb 28 18:17:01 2001
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Germany
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Martin,
>
>
two more comments on the new API:
>
Could you please provide #defines for the values of path_state,
>
association_state (etc.?)
You are right, even though the states for the paths are already in there,
it makes sense, to add the association states there, as well.
>
Using the UDP socket, how would you send back a response to a received
>
message?
>
I think, besides the source address we need the source port in the
>
Socket_callback_function.
I agree. I will add that !
>
Actually, it would be nice to have a sending function which takes exactly
>
the same parameters as destination, as the ones received in
>
Socket_callback_function as source.
Ahh, yes of course, you are absolutely right. At one time I had started
doing something of a UDP communication within the library, and used
the internal adl_send_message() function. So I will need to add a send
function for IPC via UDP. Something like:
sctp_sendUdpData(int socket_fd, unsigned char * buf, int len,
unsigned char dest_address[] ,unsigned short
dest_port);
>
>
looking forward to linking SCTP-1.0
Well and now I am looking forward to getting it *compiled* again :-)
Anyway, thanks for the good comments !
Andreas Jungmaier
- ----------------------------------------------------------------------------
E-mail is insecure. It may be read by other people, modified in the
course of transmission, or even faked (see
http://www.stopcarnivore.org) !
To protect your E-mail, use encryption programs, such as PGP or GPG,
which can be obtained for free from
http://www.gnupg.org !!!!
- ----------------------------------------------------------------------------
Andreas Jungmaier, Dipl.-Ing.
University of Essen email:
ajung AT exp-math.uni-essen.de
Computer Networking Technology Group Tel. : +49 (0201) 183-7636
- ----------------------------------------------------------------------------
PGP Public Key and Fingerprint: see
http://www.exp-math.uni-essen.de/~ajung
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iD8DBQE6nTG9d2Uw+xBvGUIRApirAJ9XsUc0v9zBbv/TXpu5dBshqSPPPQCdHEI/
9Fj97sMkvLb1dowbO4VzMv0=
=qkiX
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.