SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] SCTP Socket API for Release Association


Chronological Thread 
  • From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
  • To: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] SCTP Socket API for Release Association
  • Date: Thu Mar 21 11:27:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University Essen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, 21. March 2002 05:16, you wrote:
> Hi,
>
> In SCTP Socket API (sctpsocket lib in socketapi dir.), there is a function
> to create SCTP association(associate function) but there is no any function
> to release the SCTP association.
>
> So how can I do release the SCTP association.

I suppose you have (pasted from ext_socket.h):
int ext_socket(int domain, int type, int protocol);
int ext_open(const char* pathname, int flags, mode_t mode);
int ext_creat(const char* pathname, mode_t mode);
int ext_bind(int sockfd, struct sockaddr* my_addr, socklen_t addrlen);
int ext_connect(int sockfd, const struct sockaddr* serv_addr,
socklen_t addrlen);
int ext_listen(int s, int backlog);
int ext_accept(int s, struct sockaddr * addr, socklen_t* addrlen);
int ext_shutdown(int s, int how);
int ext_close(int fd);

The last 2 functions should do the trick...the semantics are described
in the file draft-ietf-tsvwg-sctpsocket-02.txt, which is a MUST-READ
if you want to use the socket API, I would think.
It's in the socketapi subdirectory.

Best regards,
Andreas

- --
- ------------------------------------------------------------------------
Dipl.-Ing. Andreas Jungmaier | _
Computer Networking Technology Group | ASCII ribbon campaign ( )
University of Essen | - against HTML email X
http://www.exp-math.uni-essen.de/~ajung | & vcards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8mbUjXAsLBNOCSsARAu/tAJ9jLlkVtcKFu3fZ4Eu2NPPRoqKPCgCgj1LY
CFdySCoso8O1Fi2e9fUDDEQ=
=cvlT
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page