Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TCP "Client" example in Clojure! [closed]

I am trying to use a TCP socket to communicate a shared state between a server and a bunch of clients. I am using "Server-Socket" from clojure.contrib for the server. That works pretty well and I can communicate with the server with other tools.

I am having a rather hard time finding good examples for client-side socket use in Clojure.

I actually "print" and "read-stirng" the state vector back and forth.

What is the "Clojure" way to do do the client side?

like image 886
Ali Avatar asked Jan 11 '11 01:01

Ali


1 Answers

Maybe the "Simple Clojure IRC Client" will be of help?

like image 56
lazy1 Avatar answered Oct 04 '22 19:10

lazy1