SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] need help for a 1toM SCTP client-server program


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: bhumipat likitthammanit <bhumipattt AT yahoo.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] need help for a 1toM SCTP client-server program
  • Date: Tue Dec 5 14:22:24 2006
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi pumipat,

on Solaris 10 you are using the kernel SCTP implementation, right?
Solaris has some special features... Can you provide the example
program (privately)?

Best regards
Michael


On Dec 5, 2006, at 12:01 PM, bhumipat likitthammanit wrote:

Dear All,

I am now trying to implement a simple client-server
program on 1toMany model. I am successful in 1to1
model but not for 1toMany.

My problem is that when a client starts communicating
with a server by sending the message with the function
sctp_sendmsg(), the server can not send the message
back to client.

My simple algorithm is,

-create server socket and client socket.
-bind, listen and recieve on server socket.
-client start sending data to server with
sctp_sendmsg().
-sever save the association id
--- till now everything is fine,, communication is
up---
-the server send data back with the saved association
id by using sctp_send().
--error...invalid argument.

I have tried it several times on Solaris 10. Please
someone help me or give me a fine working simple
codes.

Thanks in advance

pumipat





______________________________________________________________________ ______________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion






Archive powered by MHonArc 2.6.19+.

Top of page