xmpp/layer1.go
changeset 147 d7679d991b17
parent 145 21a390dd3506
child 148 b1b4900eee5b
--- a/xmpp/layer1.go	Sun Sep 15 12:42:49 2013 -0600
+++ b/xmpp/layer1.go	Sun Sep 15 13:09:26 2013 -0600
@@ -9,7 +9,7 @@
 	"time"
 )
 
-func (cl *Client) readTransport(w io.WriteCloser) {
+func (cl *Client) recvTransport(w io.WriteCloser) {
 	defer w.Close()
 	p := make([]byte, 1024)
 	for {
@@ -35,7 +35,7 @@
 	}
 }
 
-func (cl *Client) writeTransport(r io.Reader) {
+func (cl *Client) sendTransport(r io.Reader) {
 	defer cl.socket.Close()
 	p := make([]byte, 1024)
 	for {