Skip to content

Commit

Permalink
Merge 10083f1 into 9b56997
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Sep 1, 2021
2 parents 9b56997 + 10083f1 commit ad123b7
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 ad123b7

Please sign in to comment.