Page 2 of 2

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Fri Apr 12, 2013 1:35 am
by RichAlgeni
tj1010, don't get discouraged, DarkPlayer is Dark for a reason!

Keep striving to become better!

Remember what Tom Hagen said: "it's not personal Sonny, it's just business"

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Sat Apr 13, 2013 12:50 am
by tj1010
RichAlgeni wrote:tj1010, don't get discouraged, DarkPlayer is Dark for a reason!

Keep striving to become better!

Remember what Tom Hagen said: "it's not personal Sonny, it's just business"
I wrote this cause there was no option. If someone is going to come in and try to compete with such a simple solution, I have enough experience in this field to know to just sit back and watch. I'm still using my solution without a problem, and my code is far easier to understand and modify and no more no less stable than theirs. Also what features they have that mine doesn't are based on formatted strings and zlib for **optional** HTTP features..

It's also known out of the two HTTP compressions that gzip is the most supported...

In the end it's all about support though, this is why I suggest everyone go use theirs. When you find something that breaks their solution mine is here and coded with emphasis on handling fail scenarios and legacy servers. I'll still update and maybe add file support, when I get the time.

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Sat Apr 13, 2013 1:48 am
by RichAlgeni
Networking will be with us until the zombie apocalypse, so it's only going to benefit everyone to become as proficient as possible with networking code.

Continue adding functionality to yours, take Dark's, and play around with it. Take mine, modify for your style. Take anyone else's here. Add to it, modify it, whatever. If you can work with networks and network data, employers will look at you with googly eyes!

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Sat Apr 13, 2013 4:22 am
by tj1010
RichAlgeni wrote:Networking will be with us until the zombie apocalypse, so it's only going to benefit everyone to become as proficient as possible with networking code.

Continue adding functionality to yours, take Dark's, and play around with it. Take mine, modify for your style. Take anyone else's here. Add to it, modify it, whatever. If you can work with networks and network data, employers will look at you with googly eyes!

The only things outside of the things mentioned in my response that I can see are needed are SSL and POST file handling. Head and Compression aren't needed, and even if so not in the most incompatible using deflate over gzip.

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Sat Apr 13, 2013 4:54 am
by RichAlgeni

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Posted: Sat Apr 13, 2013 7:18 am
by tj1010
It's best to use a maintained cross-platform lib for SSL cause there are so many variations of encryption schemes and protocols. OpenSSL has a usable license and very good developers and support.

I'm going to finish this solution up and probably go to a webkit project, or at least encourage one. Almost everything I do needs to run javascript.