On Wed, 2009-04-22 at 22:58 +0200, Giuseppe Scrivano wrote:
> Andu, Thank you!
> 
> I'll take a look at your updated source code.  By the way, I wrote the
> lksctp developers asking about the sendfile feature (I CCed you). 
> I want to figure out how I can add SCTP to the connections scheduler.

I would remove recv call from ClientsThread. ClientsThread read from a
buffer and write to a socket(sockets write only to ClientsThread). This
pair should be provided by scheduler.

Andu.

> Beside the scheduler thing, that we need, and the sendfile feature, that
> is just desired, do you see other issues?
> 
> Giuseppe
> 
> 
> Alexandru IANCU <[email protected]> writes:
> 
> > Hi Giuseppe,
> >
> > something I just realized while playing with my sctp app: is it safe to
> > sctp_sendmsg on the same socket from different threads? 
> > Because the client decides to download different page's content on
> > different sctp streams(each assigned to a separate server's worker
> > thread).
> > So in fact, I should change my app the other way around: to handle
> > different requests on different threads to have a real user
> > case(attached is fully debugged version).
> >
> > Andu.



Reply via email to