Dear all,

I couldn't find an elegant way within Ryu to open a socket and listen to it 
within my application. At the moment, I am spawning a new thread from my own 
app and using select over the socket file descriptor. Is there any other 
(better) way of doing  this? I was thinking something like a class that could 
be extended, then implement the "selectable" methods (fileno) and that would be 
registered in Ryu as a new type of event that would trigger the callback 
afterwards.

This could reduce the number of threads required if we were to run several Ryu 
apps and them all would require external communications, like some external 
triggers or even a management interface.


Thank you for your kind support!

Best regards,
Jesús Llorente

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to