libCURL or Boost for network programming? [closed] - boost

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm starting to learn network programming in C++ and since the standard library doesn't support networking, I have to resort to one of these. Which do you think is simpler and thus, easier to learn?

They do different things.
If you're looking for HTTP, FTP, and support for a slew of other protocols, then use libcurl. If you want to directly use sockets and implement all your own protocols, then use Boost Asio.
A third choice would be to use the Pion Network Library, which is built on top of Asio. It only supports HTTP, though, and for clients is more of a building block than a ready-made solution.

Related

Can I create a desktop application with ruby? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to know if its posible to create a desktop application with ruby and the disadvantages,
please can you give me a example? a application to use in windows
thanks
Yes you can, Sir!
The disadvantages are like there might be some difficulties doing advanced stuff for interfaces but I'm just guessing as I have no experience at all in this field.
Take a look at some solutions you have:
http://shoesrb.com
https://github.com/larskanis/fxruby
https://github.com/maccman/bowline (this one I just found it now and seems interesting, BUT it's not maintained anymore :/)
http://macruby.org (for OS X only)
http://www.rubymotion.com (paid and OS X only)
Other I can think of is using Java Swing with JRuby
Also you might want to take a look at this -> http://en.wikibooks.org/wiki/Ruby_Programming/GUI_Toolkit_Modules

Ruby vs Perl in network programming [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
Whats the difference between Ruby and Perl when it comes to networking. Which is better to use and why?
Both languages are very similar and if you're just starting out then Ruby is probably easier to learn than Perl.
But if have a specific area you are targeting, then it probably comes down to which has the better libraries in that area. And in questions about breadth and quality of libraries, Perl wins almost all battles because of the CPAN. Take a few minutes and search for the types of libraries you're interested in and compare that with what you'll find on Ruby Gems

Bpm audio detection Library [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a library that simplify tempo/bpm audio detection.
Something similar to this http://adionsoft.net/bpm/ , but to use on *NIX machines.
Any language, but preference goes to php, perl, python.
Mixxx uses the BPMDetect class from the SoundTouch library for BPM Detection. There is also another opensource library called BPMDj which is harder to use but is more accurate.
I personally wouldn't rely on either though. Then again I am a hobbyist DJ so I tend to rely more on my ears.
EDIT
There is a much better OSS library called aubio. It can also do beat detection and onset detection.
ANOTHER EDIT
Mixxx has now moved onto the VAMP Plugins set, which is much better, supports aubio and many other beat detection libraries. It also supports key detection and other audio analysis features.
Not a library, but a single class: bpmdetect.{cpp,h} from Mixxx.
Better: http://www.vamp-plugins.org/download.html
Also, if you're already using the GStreamer library, there's the bpmdetect element as a part of the soundtouch plugin, a part of gstreamer-plugins-bad. The python gstreamer bindings are meant to be quite good.

What is the best open source SNMP monitoring tool? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am currently working on software that must emit SNMP traps for SNMP versions 1 & 2 and possibly v3 in the future. I have downloaded several and found them to be either too complex or too simplistic. All I want is to view traps and analyze the data structures within them, and the ability to import my custom MIB's. The best I have found so far is ireasonings MIB Browser, but would be greatful for any nice alternatives.
netsnmp - should do everything you're after, with a variety of language bindings to suit every taste.
The only monitoring tools I've used that utilize SNMP monitoring are Nagios, Zenoss, OpenNMS, and the proprietary product from my company - but they're for full network monitoring.
How many devices are you looking to monitor? If it's only a couple, #Andrew's suggestion of netsnmp may be sufficient.

Microsoft CryptoAPI Book [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to write my own SSL socket (CSocket ansestor) with server side certificate validation using Microsoft CryptoAPI.
Can you tell me which book will help me (or any other user friendly source of information)?
This pointer might also help, although it is not a book.
CAPI
I recommend SSL and TLS by Eric Rescorla (author of ssldump) to get a really good understanding of SSL. It provides a great introduction to the protocol and the problems it solves, with the option to go as deep as you want into the details.
I would also strongly recommend not writing your own implementation unless you really have to.
Library CSslSocket - SSL/TLS enabled CSocket
and how it works Creating a Secure Connection Using Schannel

Resources