Bitcoin Forum
April 23, 2024, 01:32:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: FOUND: C++/Qt developer for websocket server project (50~1000BTC)  (Read 4914 times)
MagicalTux (OP)
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
April 12, 2011, 09:16:32 AM
Last edit: April 14, 2011, 07:08:49 AM by MagicalTux
 #1

I'd need someone to write (or find if it already exists, I'm too lazy to filter Qt results from QuickTime results in Google) a little something for me.

Basically, it'd be an async websocket server in Qt. It should not depend on QtGui (only use QCoreApplication/etc), and allow me to write my own websocket handler.

I'd bid between 50 BTC (for a link to something already existing, opensource, and which works fine) to 1000 BTC (if you make it yourself and produce a quality library, opensource or not - if opensource it shouldn't be under GPL, use a real license like BSD, X11 or WTFPL). In between amounts for in between results. First come first served, etc.

Some additionnal details:
  • Each connected socket should be represented by an abstract object, with slots for incoming data, and the ability to send data to the endpoint
  • No form of serialization is required, I'll handle that myself
  • It should use QTcpSocket or similar with signals and never block (in order to scale nicely)
  • My main problem is to implement the WS handshake. Whoever wrote the spec was on pot and the thing is insane. Do a basic framework accepting tcp connections and handling the websocket handshake as implemented in major browsers (and without accepting invalid stuff) and you'll get your BTC (not the max, but not the min)
  • The thing shouldn't crash if client connects and throw random stuff, and timeout clients nicely if they do not handshake

Let me know if you need additional details.
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
1713879148
Hero Member
*
Offline Offline

Posts: 1713879148

View Profile Personal Message (Offline)

Ignore
1713879148
Reply with quote  #2

1713879148
Report to moderator
NghtRppr
Sr. Member
****
Offline Offline

Activity: 504
Merit: 252


Elder Crypto God


View Profile WWW
April 12, 2011, 09:22:27 AM
 #2

I know nothing about programming with Qt but I'm willing to learn if nobody else takes you up on this. Good luck!
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500


View Profile
April 12, 2011, 11:46:55 AM
 #3

Um, I'm not sure what more do you want apart from what QtTcpServer class does? Do you want a HTTP server?
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
April 12, 2011, 12:03:09 PM
 #4

* kiba stratches head.

Well, I can do node.js programming, but I don't know anything about C++/Qt. I can learn but then I don't know anything about programming the websocket protocol.

MagicalTux (OP)
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
April 12, 2011, 01:26:42 PM
 #5

Um, I'm not sure what more do you want apart from what QtTcpServer class does? Do you want a HTTP server?

As I said, I need a websocket server. That means using QTcpServer, implementing the base of a HTTP server, and adding support for the websocket fuckedup handshake. I was hoping someone would have that already done somewhere. I may end up doing it myself if nobody takes this up.
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
April 12, 2011, 07:45:17 PM
 #6

Why not just use WebKit?

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
April 12, 2011, 08:43:23 PM
 #7

Why does the server have to be written in C++/Qt?

MagicalTux (OP)
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
April 12, 2011, 10:05:26 PM
 #8

Why not just use WebKit?

It's not a websocket server but client. I need the server part.

Why does the server have to be written in C++/Qt?

Because I want to code the server part myself, there are some abstractions I want to make, and there are many other things I'd like to use this (it'd be useful for a *lot* of things)
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500


View Profile
April 12, 2011, 10:30:48 PM
 #9

Could you point to some documentation of this Websocket handshake you want to be implemented, because I still not sure what exactly you want to be done?
MagicalTux (OP)
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
April 12, 2011, 10:36:14 PM
 #10

Could you point to some documentation of this Websocket handshake you want to be implemented, because I still not sure what exactly you want to be done?

http://en.wikipedia.org/wiki/WebSockets

Support "most browsers". This means support of both:
Need2Revolt
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
April 12, 2011, 11:32:01 PM
 #11

this guy wrote a simple websocket server in c# http://www.codeproject.com/KB/webservices/c_sharp_web_socket_server.aspx
might be a very good starting point to port it to c++/qt...
MagicalTux (OP)
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
April 14, 2011, 07:09:41 AM
 #12

Found the guy and got the work done, this offer is now closed.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!