Skip to content

Commit

Permalink
Merge 10083f1 into 08e4a1e
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed May 28, 2021
2 parents 08e4a1e + 10083f1 commit 2c537fc
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 2c537fc

Please sign in to comment.