[pydhcplib] question regarding GetNextDhcpPacket()

[ Thread Index | Date Index | More lists.tuxfamily.org/pydhcplib Archives ]


Hi all,

I am trying to use dhquery tool that uses pydhcplib for test stress.
Tried to send a dhcp REQUEST to a dhcp server, however I do not see
any trace of dhcp request message in wireshark. I tried to trace the
code, it stops basically in the line of

client.GetNextDhcpPacket()

Likewise, in the client of pydhcplib example (
http://pydhcplib.tuxfamily.org/pmwiki/index.php?n=Site.ClientExample
), I read that it does the same to "while True :
    client.GetNextDhcpPacket()"

what does this GetNextDhcpPacket() method actually do? Why is it stuck
in the method as if it is waiting for the response? I just need to
basically do a simple DHCP request first, and need to make sure it
shows in the trace..


Thank you all



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/