SCTP Discussions

Text archives Help


[SCTP-Discussion] Multi-streams


Chronological Thread 
  • From: "Oon Heok Kee" <oonheokkee78 AT hotmail.com>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] Multi-streams
  • Date: Fri Aug 30 13:27:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi,

I'm trying to run my echo program on multi-stream.

Based on the captures from Ethereal, the client is able to request for multiple in and out streams in the INIT chunk. But the INIT ACK chunk from the host is always requesting for only 1 in and 1 out. I tried putting the struct sctp_initmsg in the server program, but it didn't work either. How do I get the server program to respond with the requested number of streams by the client?

From previous examples, I see that sendmsg() had only been sending the things stated in struct msghdr. Suppose I have a string "This is to be sent" to go from the client to the server and back. Do I just add the size of this string to the buffers and also "echoString = (char *)(cmsg + 2);", so that's it's sent together in msg?

Thanks a lot for the help... :)




Oon, Heok Kee

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx





Archive powered by MHonArc 2.6.19+.

Top of page