So, doing sockets in C++, is Qt the best option? I was looking around online, and it seems that's what people are recommending.
Also, it wouldn't be anything like making connections to websites, it's sending TCP packets with messages is them directly to a computer.
Results 1 to 6 of 6
Thread: Qt Sockets Programming
- 03 Jul. 2013 08:27pm #1
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 2.08
Qt Sockets Programming
- 04 Jul. 2013 05:57am #2
The thing is, I'm wagering your research was centered around sending packets of information to and from a server. The issue with this is it encompasses lower level protocols like UDP/TCP, which you probably don't need. In addition, QT is a UI framework?
If you're looking to send HTTP packets, why not just use curl?
- 04 Jul. 2013 05:57am #3
The thing is, I'm wagering your research was centered around sending packets of information to and from a server. The issue with this is it encompasses lower level protocols like UDP/TCP, which you probably don't need. In addition, QT is a UI framework?
If you're looking to send HTTP packets, why not just use curl?
- 04 Jul. 2013 03:46pm #4
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 1.99
First of all, even you're having the double posting glitch? I hate it, it's so annoying, it just started for me a few days ago.
Also, a friend of mine told me that Qt has awesome libraries for doing network stuff though, so I wasn't sure.
They're not HTTP packets, I was bored so I figured I'd try to make a simple little TCP Chat server. Any tips?
- 05 Jul. 2013 02:06pm #5
Artificial, although QT is a UI framework, the full distribution comes with a lot of extra things like SQL and networking support.
Flare, if you're thinking of coding a TCP chat client-server interaction with a UI frontend I'd say Qt would be the way to go.
However, it isn't the only way to go.
If you're using C++ it has pretty standard functionality for handling sockets.
And if you want to make it easier there are a lot of wrappers out there.
You should keep us updated on how that project goes.I don't get tired.
- 05 Jul. 2013 03:11pm #6
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 1.75
Cool, and thanks for the link too. I couldn't find any documents on C++'s sockets functionality which annoyed me, everything said "Oh, use this thing in C, C++ is worse at sockets!" instead of giving info about C++ haha.
And yeah, I will, I'll make sure to post all of my updates here and on GitHub.