KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can anyone please enlighten me about current .NET socket techniques? Non-blocking sockets If I set Socket.Blocking = false and use async operations - what will happen? Is there any method of polling multiple non-blocking sockets instead of checking them for availability one-by-one (something like trivial select() or any other mechanism, some IOCP-related may be) aside from Socket.Select()? BeginXXX and SocketAsyncEventArgs Are they operating on blocking sockets under the hood and just hide thread creation? Will manual creation of threads be equal to using BeginXXX methods? Is there any other pros on using SocketAsyncEventArgs other then it allows to create pool of sockets and everything related to them? And one final question: if app is working as some kind of heavily loaded binary proxy with most logic done in single thread - what provides better scalability: non-blocking approach or async operations?
Tags (comma-separated)
Save Edits
Cancel