Skip to content

Commit

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

Please sign in to comment.