packetsocket专题

(一百八十一) Android P DhcpClient的PacketSocket

前言:dhcp的流程分为四步,dhcp discover+dhcp offer+dhcp request+dhcp ack,那么包具体是怎么收发的呢?   1.PacketSocket dhcp开始时进行了一些初始化的操作 class DhcpState extends State {@Overridepublic void enter() {clearDhcpState();if