Re: Clojure TCP client using Java Socket

2014-05-15 Thread Philipp Meier
Hi, Am Donnerstag, 8. Mai 2014 07:41:48 UTC+2 schrieb Dylan Gleason: > > *(defn- receive* > * "Given a socket create a DataInputStream and process the server* > * response"* > * [reader socket]* > * (let [bytes-in (make-array Byte/TYPE util/max-message-size)* > *info {:type :recei

Clojure TCP client using Java Socket

2014-05-08 Thread Dylan Gleason
I am trying to write a TCP client in Clojure for a networking assignment. While everyone else is using C or C#, I elected to use Clojure and Java sockets, but am naturally running into problems and can't figure out for the life of me what I am doing wrong. The goal is to send a message to the i