Page 1 of 1

Books and information on Java Network coding?

PostPosted: Tue Feb 09, 2016 7:39 pm
by Pure_Cadence
Hi there,

I was wondering if anyone knows any good videos/books on Java network programming. I know the basics of UDP, TCP, sockets, etc but I've never coded an application that goes off to a server.

What language do you use when you code for networking applications? I've tried python but I'm not a fan. I'd be willing to dive more into php if people think its easier than Java.

I'm trying to do programming problem 11 Reverse ASCII shift. I need to send my login info.

Re: Books and information on Java Network coding?

PostPosted: Wed Feb 10, 2016 10:06 am
by -Ninjex-
Normally you would want to use a framework of some type to handle this kind of stuff. Of course you could try and do it all on your own, but it would be more difficult. For Java, a solid framework appears to be HttpCore

I used Ruby to complete all of my programming challenges here, and I used the Mechanize gem for my connections.

I used Ruby as well to complete a challenge our last collaboration at a CTF which required networking, but I didn't use Mechanize. Here is the code for that, if you are interested: CTF (math.rb)

Re: Books and information on Java Network coding?

PostPosted: Wed Apr 20, 2016 11:13 am
by SuperHacker01
I think I had to do something like this on one of the programming missions too. I did use python. And actually it's very easy in python. I know what you mean about "not a fan". I never was either, then I spent a few months working on a client/server application in php/python. Python is extremely powerful and can do in just a few lines what other languages take many lines to do. I would urge you to give it a try--especially if you are involved in security.

That being written, there are some nice examples of network type servers out there like DenisDNS--it's a simple DNS server. and it's in Java.

It's not quite what you are looking for specifically, but you'll get an idea of how it works.

Apache has a nice one here too: and this is much more in line with what you want.

Good luck!