I'm trying hard to program a server, which utilize UDP-style SCTP sockets.Michael.Tuexen AT micmac.franken.de
I use recvmsg to listen for assoc_change events when clients connect for some
other computer. The server is then supposed to send messages back to the
client through the same socket, with the sendmsg() function.
I'm been trying to do this for a couple of days and my confidence has dropped
some bit now :( I haven't succeded in this yet !
My problem seems to be that i'm not able to get the clients sockaddr which i
should receive when I get a COMMUNICATION_UP, in the msghdr structure ->
msghdr->msg_name.
Can someone help me with a code example on how to listen for connection on a
UDP-style socket and directly after an connection send a message back to the
computer that just connected to us ?
/Grateful
Torbjörn
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.