First page Back Continue Last page Overview Graphics

Spot the syscalls (2 of 2)

  • while ((my $newsock = $sock->accept())) <-- accept

  • {

  • my $buf;

  • $newsock->recv($buf, 1024); <-- recvfrom

  • print $buf; <-- write

  • undef $newsock; <-- close

  • }


    Notes: