reference/sockets/functions/socket-get-option.xml
eb1f12738221677a2d94d94e8dbddd88c6143c94
...
...
@@ -358,11 +358,11 @@
358
358
<row>
359
359
<entry><constant>IP_MULTICAST_LOOP</constant></entry>
360
360
<entry>
361
-
The multicast loopback policy for IPv4 packets, which
362
-
determines whether multicast packets sent by this socket also reach
363
-
receivers in the same host that have joined the same multicast group
364
-
on the outgoing interface used by this socket. This is the case by
365
-
default.
361
+
The multicast loopback policy for IPv4 packets enables or disables
362
+
loopback of outgoing multicasts, which must have been previously joined.
363
+
The effect differs, however, whether it applies on unixes or Windows,
364
+
the former being on the receive path whereas the latter being
365
+
on the send path.
366
366
</entry>
367
367
<entry>
368
368
<type>int</type> (either <literal>0</literal> or
...
...
@@ -434,6 +434,16 @@
434
434
</entry>
435
435
</row>
436
436
<row>
437
+
<entry><constant>SO_RTABLE</constant></entry>
438
+
<entry>
439
+
Sets an identifier on the socket for packet filtering
440
+
purpose on OpenBSD.
441
+
</entry>
442
+
<entry>
443
+
<type>int</type>
444
+
</entry>
445
+
</row>
446
+
<row>
437
447
<entry><constant>SO_DONTTRUNC</constant></entry>
438
448
<entry>
439
449
Retain unread data.
...
...
@@ -460,6 +470,96 @@
460
470
<type>int</type>
461
471
</entry>
462
472
</row>
473
+
<row>
474
+
<entry><constant>SO_INCOMING_CPU</constant></entry>
475
+
<entry>
476
+
Gets/Sets the cpu affinity of a socket.
477
+
</entry>
478
+
<entry>
479
+
<type>int</type>
480
+
</entry>
481
+
</row>
482
+
<row>
483
+
<entry><constant>SO_MEMINFO</constant></entry>
484
+
<entry>
485
+
Gets all the meminfo of a socket.
486
+
</entry>
487
+
<entry>
488
+
<type>int</type>
489
+
</entry>
490
+
</row>
491
+
<row>
492
+
<entry><constant>SO_BPF_EXTENSIONS</constant></entry>
493
+
<entry>
494
+
Gets the supported BPF extensions by the kernel to attach to a socket.
495
+
</entry>
496
+
<entry>
497
+
<type>int</type>
498
+
</entry>
499
+
</row>
500
+
<row>
501
+
<entry><constant>SO_SETFIB</constant></entry>
502
+
<entry>
503
+
Sets the route table (FIB) of a socket. (FreeBSD only)
504
+
</entry>
505
+
<entry>
506
+
<type>int</type>
507
+
</entry>
508
+
</row>
509
+
<row>
510
+
<entry><constant>SOL_FILTER</constant></entry>
511
+
<entry>
512
+
Filters attributed to a socket. (Solaris/Illumos only)
513
+
</entry>
514
+
<entry>
515
+
<type>int</type>
516
+
</entry>
517
+
</row>
518
+
<row>
519
+
<entry><constant>TCP_KEEPCNT</constant></entry>
520
+
<entry>
521
+
Sets the maximum number of keepalive probes TCP should send before dropping the connection.
522
+
</entry>
523
+
<entry>
524
+
<type>int</type>
525
+
</entry>
526
+
</row>
527
+
<row>
528
+
<entry><constant>TCP_KEEPIDLE</constant></entry>
529
+
<entry>
530
+
Sets the time the connection needs to remain idle.
531
+
</entry>
532
+
<entry>
533
+
<type>int</type>
534
+
</entry>
535
+
</row>
536
+
<row>
537
+
<entry><constant>TCP_KEEPINTVL</constant></entry>
538
+
<entry>
539
+
Sets the time between individual keepalive probes.
540
+
</entry>
541
+
<entry>
542
+
<type>int</type>
543
+
</entry>
544
+
</row>
545
+
<row>
546
+
<entry><constant>TCP_KEEPALIVE</constant></entry>
547
+
<entry>
548
+
Sets the time the connection needs to remain idle. (macOS only)
549
+
</entry>
550
+
<entry>
551
+
<type>int</type>
552
+
</entry>
553
+
</row>
554
+
<row>
555
+
<entry><constant>TCP_NOTSENT_LOWAT</constant></entry>
556
+
<entry>
557
+
Sets the limit number of unsent data in write queue by the socket stream. (Linux only)
558
+
</entry>
559
+
<entry>
560
+
<type>int</type>
561
+
</entry>
562
+
</row>
463
563
</tbody>
464
564
</tgroup>
465
565
</table>
466
566