Lines Matching refs:sock
505 wxInputFTPStream(wxFTP *ftp, wxSocketBase *sock)
506 : wxSocketInputStream(*sock)
553 wxOutputFTPStream(wxFTP *ftp_clt, wxSocketBase *sock)
554 : wxSocketOutputStream(*sock), m_ftp(ftp_clt)
621 wxSocketBase *wxFTP::AcceptIfActive(wxSocketBase *sock)
624 return sock;
627 wxSocketServer *sockSrv = (wxSocketServer *)sock;
632 delete sock;
633 sock = NULL;
637 sock = sockSrv->Accept(true);
641 return sock;
762 wxSocketBase *sock = GetPort();
764 if ( !sock )
774 sock = AcceptIfActive(sock);
775 if ( !sock )
778 sock->SetFlags(wxSOCKET_WAITALL);
782 wxInputFTPStream *in_stream = new wxInputFTPStream(this, sock);
792 wxSocketBase *sock = GetPort();
798 sock = AcceptIfActive(sock);
802 return new wxOutputFTPStream(this, sock);
813 wxSocketBase *sock = GetPort();
814 if (!sock)
832 delete sock;
836 sock = AcceptIfActive(sock);
837 if ( !sock )
841 while (ReadLine(sock, line) == wxPROTO_NOERR )
846 delete sock;