From a35e8745f354e5569a4416869e755934fff717b4 Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 9 Oct 2025 02:03:21 +0000 Subject: deploy: bdf85dd692d803b7b2fc793f1c7723f9874bfcdb --- ref/proto/req.html | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'ref/proto/req.html') diff --git a/ref/proto/req.html b/ref/proto/req.html index cc2204d2..d52fcf5f 100644 --- a/ref/proto/req.html +++ b/ref/proto/req.html @@ -270,20 +270,19 @@ some reason.)

The requester generally only has one outstanding request at a time unless -in raw mode, +in raw mode, and it will generally attempt to spread work requests to different peer repliers.

tip

-

This property, when combined with a device -can help provide a degree of load-balancing.

+

This property, when combined with a device can help provide a degree of load-balancing.

-

The REQ protocol is the requester side, and the REP protocol +

The REQ protocol is the requester side, and the REP protocol is the replier side.

Socket Operations

-

The nng_req0_open functions create a REQ socket. +

The nng_req0_open function creates a REQ socket. This socket may be used to send messages (requests), and then to receive replies.

Generally a reply can only be received after sending a request. (Attempts to receive a message will result in NNG_ESTATE if there is no @@ -296,10 +295,10 @@ This will cause the requester to discard any reply from the earlier request, but it will not stop a replier from processing a request it has already received or terminate a request that has already been placed on the wire.

-

Raw mode sockets ignore all these restrictions.

+

Raw mode sockets ignore all these restrictions.

Context Operations

-

This protocol supports the creation of contexts for concurrent -use cases using nng_ctx_open.

+

This protocol supports the creation of contexts for concurrent +use cases using nng_ctx_open.

The NNG_OPT_REQ_RESENDTIME value may be configured differently on contexts created this way.

Each context may have at most one outstanding request, and operates @@ -315,7 +314,7 @@ a separate socket.