changeset 145 | 21a390dd3506 |
parent 143 | 62166e57800e |
child 147 | d7679d991b17 |
144:9d7fdb1d2fc1 | 145:21a390dd3506 |
---|---|
3 |
3 |
4 package xmpp |
4 package xmpp |
5 |
5 |
6 import ( |
6 import ( |
7 "io" |
7 "io" |
8 "net" |
|
8 "time" |
9 "time" |
9 "net" |
|
10 ) |
10 ) |
11 |
11 |
12 func (cl *Client) readTransport(w io.WriteCloser) { |
12 func (cl *Client) readTransport(w io.WriteCloser) { |
13 defer w.Close() |
13 defer w.Close() |
14 p := make([]byte, 1024) |
14 p := make([]byte, 1024) |