HI MIchael,
Thanks for your previous replies. I started using the socket api instead and it's much easier to run client and server. I'm trying to test multihoming though and I can't seem to get ir running.
My client and server are running on different machines.
I'm connected to two different Networks.
Here is what happens:
[root@localhost cppsocket_programs]# ./sctpmultiserver - local=192.168.1.106 -local=192.168.0.109
SCTP Multi Server - Copyright (C) 2001-2003 Thomas Dreibholz
------------------------------------------------------------
Version: Mar 20 2006, 16:14:52
Local Addresses: 192.168.1.106
192.168.0.109
Max Incoming: 128
Max Outgoing: 128
Unreliable: 0
Error Info: 17:59:14.781 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.858 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.890 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.905 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.921 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.936 - sctp_getAssocDefaults : Did not find Instance Number 0
---- The server is running normally so in the client i type:
[root@localhost cppsocket_programs]# ./sctpterminal 192.168.1.106:echo 192.168.0.109:echo -in=2 -out=2
SCTP Terminal - Copyright (C) 2001-2003 Thomas Dreibholz
--------------------------------------------------------
Version: Feb 24 2006, 08:54:01
Local Addresses: ::1
fe80::20c:29ff:fe40:e4b3
fe80::20c:29ff:fe40:e4a9
127.0.0.1
192.168.1.105
192.168.0.106
Remote Addresses: 192.168.1.106:7
192.168.0.109
Outgoing Streams: 2
Max. Incoming Streams: 2
Unreliable: 0
Connecting... done. Use Ctrl-D to end transmission.
----- Now the server displays:
Error Info: 18:07:59.008 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.013 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.014 - sci_getCookieLifeTime(): read SCTP- control failed
Error Info: 18:07:59.020 - mdi_readRX_control: association not set
Error Info: 18:07:59.021 - rxc_buffer instance not set !
Error Info: 18:07:59.022 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.035 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.035 - sci_getCookieLifeTime(): read SCTP- control failed
Error Info: 18:07:59.038 - mdi_readRX_control: association not set
Error Info: 18:07:59.039 - rxc_buffer instance not set !
Error Info: 18:07:59.048 - mdi_readLocalTag: association not set
Error Info: 18:07:59.049 - mdi_readAssociationID: association not set
Error Info: 18:07:59.049 - mdi_readSCTP_control: association not set
21-Mar-2006 18:07:59.1564: Accepted association from 192.168.1.105:16687 to Echo server.
------ The client and server can now communicate but only via one connection (192.168.1.105) and not the other one.
Why isn't multihoimg working here? I'm sorry for asking so many question. I really appreciate your effort and time
Thanks,
Jeff
Archive powered by MHonArc 2.6.19+.