Skip to content

Commit

Permalink
Merge 10083f1 into 6128f43
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Sep 13, 2021
2 parents 6128f43 + 10083f1 commit 4d46fec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pod/perlfunc.pod
Expand Up @@ -7325,6 +7325,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 4d46fec

Please sign in to comment.