- From: Alexander Litvin <archer AT whichever.org>
- To: discussion AT sctp.de
- Subject: [SCTP-Discussion] Single host
- Date: Fri Jul 16 03:57:02 2004
- List-id: SCTP Discussions <discussion.sctp.de>
Hi, all!
I'm new to sctplib (though not new to SCTP). Just wanted to do
some testing. So, I downloaded sctplib-1.0.1 on my FreeBSD 5.1,
compiled it, tried to run. And here's my problem.
I wrote a simple client and server applications, and tried to
run them on the same host. No luck.
Doing some GDB, I found that client receives INIT which it
sends to server (and, sure, server receives INIT ACK which it
sends to client).
Apparently, the nature of raw sockets is responsible for this:
as long as you just have raw socket on the machine and protocol
matches, the socket will receive all the packets for that protocol.
Maybe, I'm missing something here. So, before I start hacking around
it, could somebody enlighten me? I suppose this "feature" should not
be news to the experts here. Is it supposed to be like this? Or is
there some "magic" compile/runtime option to overcome this restriction?
TIA,
Alex
- [SCTP-Discussion] Single host, Alexander Litvin, 07/16/2004
Archive powered by MHonArc 2.6.19+.