pike.git / lib / modules / Protocols.pmod / LPD.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LPD.pmod:233:    return resp;    }      //! Create a new LPD client connection.   //! @param hostname   //! Contains the hostname or ipaddress of the print host.   //! if not provided, defaults to @i{localhost@}.   //! @param portnum   //! Contains the port the print host is listening on.   //! if not provided, defaults to port @i{515@}, the @rfc{1179@} standard. -  void create(string|void hostname, int|void portnum) +  protected void create(string|void hostname, int|void portnum)    {    host=hostname || "localhost";    port=portnum || 515;    conn=Stdio.File();    jobnum=1;    }   }