-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 24. März 2003 11:05 schrieb Harold Hunt:
Hello,
I am using socketapi-1.0.1 and sctplib-1.0.0-pre19 . When I run the cpp
socket api sample programs. i.e sctpmultiserver and sctpterminal. The
sctpterminal, which is an example of sctp client does not return if the
sctpmultiserver is not listening. It just says "connecting...." for a long
time. What could be the problem ?..Should the Connect call not return on
failure ??
I assume you try to connect to a port the server is not listening to. The
RFC2960-compliant behaviour would be that the server sends back an ABORT
message. This would create a problem when more than one instance are running
on the same host. For example, if you start server A on port 1000 and server
B on port 2000, server B would immediately send an abort when it sees an INIT
message to server A (port 1000). Therefore, the socket API's default
behaviour is to simply ignore out of the blue (OOTB) packets and do nothing.
To turn OOTB handling on, add a call of "sctp_enableOOTBHandling(1)" to both,
client and server. Then, you will get the desired behaviour.
Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage: http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+fu8S32BbsHYPLWURAos0AKDe8cSUxzmjBT3Ma7RWiBT4yKr4PgCgzGtg
uiGg5mgaQIvnbFvQY5WO7Uw=
=5NWS
-----END PGP SIGNATURE-----
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.