Bitcoin Forum
December 10, 2016, 08:50:36 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: FOUND: C++/Qt developer for websocket server project (50~1000BTC)  (Read 4526 times)
MagicalTux
VIP
Hero Member
*
Offline Offline

Activity: 617


Working on new MtGox features


View Profile WWW
April 12, 2011, 09:16:32 AM
 #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.

1481403036
Hero Member
*
Offline Offline

Posts: 1481403036

View Profile Personal Message (Offline)

Ignore
1481403036
Reply with quote  #2

1481403036
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481403036
Hero Member
*
Offline Offline

Posts: 1481403036

View Profile Personal Message (Offline)

Ignore
1481403036
Reply with quote  #2

1481403036
Report to moderator
1481403036
Hero Member
*
Offline Offline

Posts: 1481403036

View Profile Personal Message (Offline)

Ignore
1481403036
Reply with quote  #2

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

Activity: 476


View Profile
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



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


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
VIP
Hero Member
*
Offline Offline

Activity: 617


Working on new MtGox features


View Profile WWW
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: 574



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

Why not just use WebKit?

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
kiba
Legendary
*
Offline Offline

Activity: 980


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

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

MagicalTux
VIP
Hero Member
*
Offline Offline

Activity: 617


Working on new MtGox features


View Profile WWW
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



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
VIP
Hero Member
*
Offline Offline

Activity: 617


Working on new MtGox features


View Profile WWW
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


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
VIP
Hero Member
*
Offline Offline

Activity: 617


Working on new MtGox features


View Profile WWW
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!