basic tcp implementation
This commit is contained in:
parent
92bb3cfc17
commit
3a7af37260
12 changed files with 802 additions and 27 deletions
|
@ -793,6 +793,7 @@ grub_net_poll_cards (unsigned time)
|
|||
while ((grub_get_time_ms () - start_time) < time)
|
||||
receive_packets (card);
|
||||
}
|
||||
grub_net_tcp_retransmit ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -807,6 +808,7 @@ grub_net_poll_cards_idle_real (void)
|
|||
|| ctime >= card->last_poll + card->idle_poll_delay_ms)
|
||||
receive_packets (card);
|
||||
}
|
||||
grub_net_tcp_retransmit ();
|
||||
}
|
||||
|
||||
/* Read from the packets list*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue