(s string, err error)
| 173 | } |
| 174 | |
| 175 | func (p *SocketConn) err(s string, err error) { |
| 176 | log.Println(err) |
| 177 | if p.erred { |
| 178 | return |
| 179 | } |
| 180 | if err != io.EOF { |
| 181 | log.Printf(s, err) |
| 182 | } |
| 183 | p.errsig <- true |
| 184 | p.erred = true |
| 185 | } |
| 186 | |
| 187 | func (p *SocketConn) fullduplex() { |
| 188 | //bidirectional copy |