Skip to content

Commit

Permalink
Merge 10083f1 into 2723cea
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Jun 15, 2021
2 parents 2723cea + 10083f1 commit 3cf3212
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pod/perlfunc.pod
Expand Up @@ -7314,6 +7314,10 @@ An example disabling Nagle's algorithm on a socket:
use Socket qw(IPPROTO_TCP TCP_NODELAY);
setsockopt($socket, IPPROTO_TCP, TCP_NODELAY, 1);

Beware: If a variable is supplied for OPTVAL and that variable has
been used as a string, setsockopt() might treat it as a packed string
instead of as an integer.

Portability issues: L<perlport/setsockopt>.

=item shift ARRAY
Expand Down

0 comments on commit 3cf3212

Please sign in to comment.