Are there any mature & modern network/socket frameworks? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
2 years ago, I wrote a RTSP communication stack with server, listener and client implementations. It worked asynchronous using the asynchronous event pattern (EAP, Begin/End-callbacks), was fast and more or less robust. However, it was a real PITA to design the socket both scalable as well as stable with such an 'open' protocol (look, the protocol looks like this, but if this happens, a message may look like this and oh yeah, the server can send requests to the client when this and this...)
Because I (obviously!) did so well, I was honored with the task of writing a SIP communication stack. And you know what? The protocol looks nearly the same, but has hundreds of other unspecified or open rules (or exceptions).
Before I quit my job and apply somewhere as a gardener, I would like to ask if any of you guys know a mature and stable socket/network framework that fills (hopefully most of) those requirements:
Asynchronous using the task-based pattern (TAP, async await..)
Robust (a server/client shouldn't crash when the socket ungracefully aborts)
Adapting DI patterns
Has packet analysis features
I don't mind implementing all kinds of protocols on top of it myself, but I need a robust foundation. The System.Net.Sockets namespace is just an inconsistent, legacy and compatibility crippled piece of crap.
Thanks for your time!

Related

Alternatives to WPF? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm in the process of learning C# and have a firm grasp of Java, and almost two decades ago VB6. I'm jumping straight into Windows desktop applications and wonder what alternatives there are to WPF?
Anything recent, that would be more relevant to spend time learning?
I did find a thread here, but wonder if there has been any changes. For instance, Silverlight is all, but seemingly abandoned.
Background: I hold a BS degree in Computer science, but it has been about 5-years since I have been in the technology industry and would like to jump back into a programming career. As a start I would like to build a portfolio.
In general, WPF is the best option for Desktop development on Windows. There is nothing else that comes close.
The main "alternative" would be if you wanted to target Windows Store applications, in which case you'd use the Windows Store development model. This is still XAML based (as are all of the new Microsoft UI technologies), so WPF knowledge transfers over fairly well.
If you are solely looking at c# native UI development, I think your only alternative would be WinForms. Personally I think that WPF is a lot more flexible and easier to work with when you get a grasp on it, and it's very friendly to expansion if you want to write your own extensions. WinForms can arguably be more basic and easy to learn, but you won't achieve the same level of flexibility and extension.

High-level concurrency à la STM in .NET (C#)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have the following problem in a project:
I have a REST API, whose threads I don't control explicitly; this API accesses internal resources/services. I would like to synchronize access to these resources, who may perform caching themselves. It is also necessary to prevent repeated triggering of expensive operations.
I think using an approach such as STM (à la Clojure or Haskell) would help a lot; currently, everything is using locks and it is getting really complicated. Unfortunately, Microsoft abandoned their STM implementation.
What are the .NET patterns for synchronized access over multiple resources? Are there any good libraries for this purpose? I'm looking for better and more high level solution then what locks bring to the table.

How to simulate drop in LAN bandwidth [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
A customer is reporting some odd behaviour which I suspect is due to a massive drop on LAN bandwidth (It matches the times when the IT dept pump out windows updates).
I want to simulate this so I can design around it and make our software more robust to this. I have tried manually setting a bunch of copies going at the same time, but it doesn't put enough load.
Is there a tool out there which can swamp the network?
On Windows, you can use a tool such as Clumsy, which provides many configuration options to emulate various scenarii such as packet loss, lag, out-of-order packets, etc...
Install Fiddler, under Rules > Performance> Simulate modem speeds , you can simulate a low bandwidth connection

.Net stock tick data transportation libraries / API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am currently trying to find a simple, easy way to publish/broadcast stock tick data (real time) between C# applications. I am currently using nServiceBus for some other publish/send message communication processes, however I believe the overhead of MSMQ/serialization/etc. will be too much for transporting time-critical data such as stock data (although these layers can be replaced).
Can anyone recommend a transportation/communication framework that is available for .Net / C# which will support sending stock tick data across it easily? It would need to be able to support at least around 100 stocks tick data feeds in parallel, publishing to maybe 5-10 different C# applications.
At the moment my current strategies are either to write a light weight transportation layer for nServiceBus to see if it will be suitable, or write a simple light weight API on top of just standard sockets to see how that goes. Neither of these are ideal though as it requires more code for myself to write & maintain ;)
Suggestions welcome! A little related, bonus points for:
Recommendations on open-source / free stock graphing libraries for C#
Recommendations on database solutions for storing tick data
You should look at something like 0MQ (ZeroMQ) for broadcasting real-time quotes. Implementation looks simple enough.
They have C# bindings - http://www.zeromq.org/bindings:clr
You should also check this out - http://www.zeromq.org/whitepapers:market-analysis

IRC library in C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to embed a small chat window in my program that will function as a basic IRC client. This requires limited functionality such as connecting, disconnecting, listing users, and sending private messages.
As of writing, I have tried several bloated libraries that make it too difficult to create a simple application (wiring many events, handling things like channels, modes, etc. that I'm not interested in). Other libraries I've tried are developed for old versions of .NET and are full of deprecation warnings. How can I develop a lightweight IRC client in C#?
Two years later, now there's ircdotnet which seems to work pretty well.
Should note that this does not yet (and will likely never) work for Windows 8 Metro-style (WinRT) apps.
There is a bunch of IRC libraries on Codeplex, one of them which seems quite good is Nebo IRC: http://nebo.codeplex.com/
Some other IRC libraries on Codeplex: http://www.codeplex.com/site/search?projectSearchText=IRC
I think the protocol is so simple you probably could do it yourself then. Really, I've tested some years ago using simply telnet! I'd get the source of some simple client and just implement the same commands.
You can refer to: http://www.irchelp.org/irchelp/rfc/rfc.html
Try using this C# IRC Library:
http://www.meebey.net/projects/smartirc4net/
It has many methods, I'm sure you can achieve everything you want with them:
http://smartirc4net.meebey.net/docs/0.4.0/html/
Projects using SmartIrc4net
Smuxi IRC Client
SparkleShare
Low Orbit Ion Cannon
MonkeyWrench
U-Lyss IRC-Bot
DG Network
Abbot
Spike.NET
Prelude Chatbot
VandalSniper
References: Get users list of a given channel in IRC server using C#

Categories

Resources