11 Replies - 2750 Views - Last Post: 21 February 2015 - 02:31 AM Rate Topic: -----

#1 livium   User is offline

  • D.I.C Addict

Reputation: 0
  • View blog
  • Posts: 543
  • Joined: 21-December 08

QT Network programming

Posted 18 February 2015 - 08:52 AM

Hello!

I'm a C++ developer and want to add Network programming to my CV skills.
But I have this huge problem. I tried to learn Boost.Asio for that, but I find it so hard because it is so low level especially when it comes to asynchronous socket programming. I just cannot stand it. Not to mention that it is so poorly documented.
So, my next option will be learning QT Networking. But from what I understand, QT is more of a framework than a library, so it is slower than Boost. Also, programming in QT is some kind of a high-level C++ programming. This is why I like it so much, because it is a lot easier than Boost. I don't want to change to C# or some other high-level programming language, I want to stay with C++, because I want to find a future C++ job as I have years of experience in C++, and changing to, say, C# will get me a low-paid starter job.

So my dilemma is this: is it a good idea to learn QT Networking, or most of the employers just don't care about that and want low-level Boost.Asio networking or even very low level, not using even Boost.Asio.

Please give me a sincere answer, because I'm so desperate. I really want to learn networking as I can see allot of C++ jobs demanding it nowadays.

Is This A Good Question/Topic? 0
  • +

Replies To: QT Network programming

#2 jimblumberg   User is online

  • member icon

Reputation: 5705
  • View blog
  • Posts: 17,487
  • Joined: 25-December 09

Re: QT Network programming

Posted 18 February 2015 - 09:16 AM

I would suggest you start here: Beej's Guide to Network Programming.

Jim
Was This Post Helpful? 0
  • +
  • -

#3 livium   User is offline

  • D.I.C Addict

Reputation: 0
  • View blog
  • Posts: 543
  • Joined: 21-December 08

Re: QT Network programming

Posted 18 February 2015 - 09:38 AM

View Postjimblumberg, on 18 February 2015 - 09:16 AM, said:

I would suggest you start here: Beej's Guide to Network Programming.

Jim


I know this site, but it's low level.
Was This Post Helpful? 0
  • +
  • -

#4 jimblumberg   User is online

  • member icon

Reputation: 5705
  • View blog
  • Posts: 17,487
  • Joined: 25-December 09

Re: QT Network programming

Posted 18 February 2015 - 09:42 AM

And? Why do you think there is something wrong with low level? Once you learn the basics perhaps you'll be ready to understand things like Boost::Asio, or "you name it" framework.


Jim
Was This Post Helpful? 0
  • +
  • -

#5 livium   User is offline

  • D.I.C Addict

Reputation: 0
  • View blog
  • Posts: 543
  • Joined: 21-December 08

Re: QT Network programming

Posted 18 February 2015 - 11:57 AM

Well, low level is very hard, that's why I like high level C++.
Was This Post Helpful? 0
  • +
  • -

#6 jimblumberg   User is online

  • member icon

Reputation: 5705
  • View blog
  • Posts: 17,487
  • Joined: 25-December 09

Re: QT Network programming

Posted 18 February 2015 - 12:12 PM

I thought you wanted to become a "professional programmer". Programming is hard, deal with it. If you want to get into networking you're going to need to understand the low level aspects of Networking, so why not learn it now?


Jim
Was This Post Helpful? 2
  • +
  • -

#7 #define   User is offline

  • Duke of Err
  • member icon

Reputation: 1858
  • View blog
  • Posts: 6,690
  • Joined: 19-February 09

Re: QT Network programming

Posted 18 February 2015 - 02:07 PM

Hi, there other libraries such as SFML to look at, JackOfAllTrades always mentions CURL.

If you use a library or the API, the issues are much the same, but you could start with a library if you wish.

I consider the Mad Wizard's tutorial worth a look.

Winsock Networking(C++) - MadWizard.org
Was This Post Helpful? 1
  • +
  • -

#8 livium   User is offline

  • D.I.C Addict

Reputation: 0
  • View blog
  • Posts: 543
  • Joined: 21-December 08

Re: QT Network programming

Posted 18 February 2015 - 02:28 PM

Thank you very much. I will have a look at these.
Was This Post Helpful? 0
  • +
  • -

#9 vividexstance   User is offline

  • Tiocfaidh ár lá
  • member icon

Reputation: 794
  • View blog
  • Posts: 2,880
  • Joined: 31-December 10

Re: QT Network programming

Posted 19 February 2015 - 09:15 AM

I'm sorry but Boost.Asio is not poorly documented. There are many examples to learn from.

*EDIT*:
There's also a chance that Boost.Asio might show up in the C++ standard library in the next update as a networking library.

This post has been edited by vividexstance: 19 February 2015 - 09:16 AM

Was This Post Helpful? 0
  • +
  • -

#10 livium   User is offline

  • D.I.C Addict

Reputation: 0
  • View blog
  • Posts: 543
  • Joined: 21-December 08

Re: QT Network programming

Posted 19 February 2015 - 02:18 PM

View Postvividexstance, on 19 February 2015 - 09:15 AM, said:

I'm sorry but Boost.Asio is not poorly documented. There are many examples to learn from.

*EDIT*:
There's also a chance that Boost.Asio might show up in the C++ standard library in the next update as a networking library.


That will be awesome. In what standard? 2014 or 2017?
Was This Post Helpful? 0
  • +
  • -

#11 jjl   User is offline

  • Engineer
  • member icon

Reputation: 1270
  • View blog
  • Posts: 4,998
  • Joined: 09-June 09

Re: QT Network programming

Posted 20 February 2015 - 11:38 PM

Network programming is not hard if you understand it. The problem here is that you refuse to learn the basics of networking, and therefore network programming seems too "low-level" or hard. Pick up a networking book, or PDF like Beej's, and read it and understand it. Don't assume network programming is low-level simply because you don't understand it.

Quote

or most of the employers just don't care about that and want low-level Boost.Asio

You think boost is low-level?

This post has been edited by jjl: 20 February 2015 - 11:39 PM

Was This Post Helpful? 1
  • +
  • -

#12 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1556
  • View blog
  • Posts: 4,930
  • Joined: 20-March 10

Re: QT Network programming

Posted 21 February 2015 - 02:31 AM

View Postjjl, on 21 February 2015 - 06:38 AM, said:

You think boost is low-level?



Apparently he does :)

quite funny huh ?

Snoopy.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1