handleBind is used to handle a bind command TODO: Support bind command
(conn io.ReadWriter, req *Request)
| 116 | // handleBind is used to handle a bind command |
| 117 | // TODO: Support bind command |
| 118 | func (h *StandardRequestHandler) handleBind(conn io.ReadWriter, req *Request) error { |
| 119 | if err := sendReply(conn, commandNotSupported, nil); err != nil { |
| 120 | return fmt.Errorf("Failed to send reply: %v", err) |
| 121 | } |
| 122 | return nil |
| 123 | } |
| 124 | |
| 125 | // handleAssociate is used to handle a connect command |
| 126 | // TODO: Support associate command |