I'm learning about akka tcp using actors in scala and I would like to write 
a bytestring to a connection to a remote host, and wait until I receive a 
msg reply. I need to do this in order to not overflow the server with my 
client. Can someone help me write an actor that can write and wait for the 
received msg before writing again?

I'm basing my work from the following article 
http://doc.akka.io/docs/akka/2.4.5/scala/io-tcp.html

and 
https://github.com/akka/akka/blob/master/akka-docs/rst/scala/code/docs/io/EchoServer.scala

Thanks

Francis

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to