raise_timeout – Whether to raise a NetcatTimeout exception when a.retry – The number of times to retry establishing a connection.ipv6 – Force using ipv6 when using the connect or listen.udp – Set to True to use udp connections when using the.You pass this object into a context which This should be specified as a python socket or pipe If this is specified, this Netcat object will actĪs a multiplexer/demultiplexer, using the “normal”Ĭhannel for receiving and this channel for sending. If you find an input format you think would be useful butĪdditionally, the following options modify the behavior of the object: Parameters: sock – a python socket, pipe, file, etc to wrapįor connect and listen, they accept basically any argument format.listen – the address/port to bind to for listening.connect – the address/port to connect to. ![]() ![]() One of the following must be passed in order to initialize a Netcat Listen for a one-off client, or wrap an existing sock/pipe/whatever. Network! You may instanciate this class to either connect to a server, This is the main class you will use to interact with a peer over the ![]() Netcat ( connect=None, sock=None, listen=None, sock_send=None, server=None, udp=False, ipv6=False, raise_timeout=False, raise_eof=False, retry=0, loggers=None, verbose=0, log_send=None, log_recv=None, log_yield=False, echo_headers=True, echo_perline=True, echo_hex=False, echo_send_prefix='> ', echo_recv_prefix='<< ' ) ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |