[erlang-questions] gen_sctp

Kannan <>
Mon May 9 03:17:09 CEST 2011


Hi List,

One would ever want to handle a "connection" in TCP or an "association" in
SCTP with a dedicated worker process, from the server point of view. It is
made possible by separating listening socket and data sockets in TCP. One
will spawn a worker for each data socket and give the control of that socket
to the worker. This is not possible in SCTP as there is no separation of
sockets as such. Now the problem is how to handle each association with a
separate worker process?

The workaround I can think is, keeping the controlling process as the
message clearing process with a dedicated worker process for each
association.

Any suggestions?

Best,
Kannan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110509/a7bf68d4/attachment.html>


More information about the erlang-questions mailing list