lib/automate-em/device/tcp_control.rb in automate-em-0.0.3 vs lib/automate-em/device/tcp_control.rb in automate-em-0.0.4

- old
+ new

@@ -5,13 +5,13 @@ class Device # # This is how sending works - # Send recieves data, turns a mutex on and sends the data - # -- It goes into the recieve mutex critical section and sleeps waiting for a response + # Send receives data, turns a mutex on and sends the data + # -- It goes into the receive mutex critical section and sleeps waiting for a response # -- a timeout is used as a backup in case no response is received - # The recieve function does the following + # The receive function does the following # -- If the send lock is not active it processes the received data # -- otherwise it notifies the send function that data is avaliable # class Base < EventMachine::Connection include Utilities \ No newline at end of file