You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/mfc/reference/casyncsocket-class.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1127,7 +1127,7 @@ A buffer for the incoming data.
1127
1127
The length of *`lpBuf`* in bytes.
1128
1128
1129
1129
*`nFlags`*<br/>
1130
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1130
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1131
1131
1132
1132
-`MSG_PEEK` Peek at the incoming data. The data is copied into the buffer but is not removed from the input queue.
1133
1133
@@ -1218,7 +1218,7 @@ A pointer to a [`SOCKADDR`](/windows/win32/winsock/sockaddr-2) structure that ho
1218
1218
A pointer to the length of the source address in *`lpSockAddr`* in bytes.
1219
1219
1220
1220
*`nFlags`*<br/>
1221
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1221
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1222
1222
1223
1223
-`MSG_PEEK` Peek at the incoming data. The data is copied into the buffer but is not removed from the input queue.
1224
1224
@@ -1262,7 +1262,7 @@ To handle IPv6 addresses, use [`CAsyncSocket::ReceiveFromEx`](#receivefromex).
1262
1262
1263
1263
For sockets of type `SOCK_STREAM`, as much information as is currently available up to the size of the buffer supplied is returned. If the socket has been configured for in-line reception of out-of-band data (socket option `SO_OOBINLINE`) and out-of-band data is unread, only out-of-band data will be returned. The application can use the `IOCtlSIOCATMARK` option or `OnOutOfBandData` to determine whether any more out-of-band data remains to be read. The *`lpSockAddr`* and *`lpSockAddrLen`* parameters are ignored for `SOCK_STREAM` sockets.
1264
1264
1265
-
For datagram sockets, data is extracted from the first enqueued datagram, up to the size of the buffer supplied. If the datagram is larger than the buffer supplied, the buffer is filled with the first part of the message, the excess data is lost, and `ReceiveFrom` returns a value of SOCKET_ERROR with the error code set to `WSAEMSGSIZE`.
1265
+
For datagram sockets, data is extracted from the first enqueued datagram, up to the size of the buffer supplied. If the datagram is larger than the buffer supplied, the buffer is filled with the first part of the message, the excess data is lost, and `ReceiveFrom` returns a value of `SOCKET_ERROR` with the error code set to `WSAEMSGSIZE`.
1266
1266
1267
1267
If *`lpSockAddr`* is nonzero, and the socket is of type `SOCK_DGRAM`, the network address of the socket which sent the data is copied to the corresponding [`SOCKADDR`](/windows/win32/winsock/sockaddr-2) structure. The value pointed to by *`lpSockAddrLen`* is initialized to the size of this structure, and is modified on return to indicate the actual size of the address stored there. If no incoming data is available at the socket, the `ReceiveFrom` call waits for data to arrive unless the socket is nonblocking. In this case, a value of `SOCKET_ERROR` is returned with the error code set to `WSAEWOULDBLOCK`. The `OnReceive` callback can be used to determine when more data arrives.
1268
1268
@@ -1296,7 +1296,7 @@ Reference to a `CString` object that receives a dotted number IP address.
1296
1296
Reference to a `UINT` that stores a port.
1297
1297
1298
1298
*`nFlags`*<br/>
1299
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ **`OR`** operator:
1299
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1300
1300
1301
1301
-`MSG_PEEK` Peek at the incoming data. The data is copied into the buffer but is not removed from the input queue.
1302
1302
@@ -1366,7 +1366,7 @@ A buffer containing the data to be transmitted.
1366
1366
The length of the data in *`lpBuf`* in bytes.
1367
1367
1368
1368
*`nFlags`*<br/>
1369
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1369
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1370
1370
1371
1371
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
1372
1372
@@ -1455,7 +1455,7 @@ The port identifying the socket application.
1455
1455
The network address of the socket to which this object is connected: a machine name such as "ftp.microsoft.com," or a dotted number such as "128.56.22.8".
1456
1456
1457
1457
*`nFlags`*<br/>
1458
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1458
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1459
1459
1460
1460
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
1461
1461
@@ -1551,7 +1551,7 @@ The port identifying the socket application.
1551
1551
The network address of the socket to which this object is connected: a machine name such as "ftp.microsoft.com," or a dotted number such as "128.56.22.8".
1552
1552
1553
1553
*`nFlags`*<br/>
1554
-
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (||):
1554
+
Specifies the way in which the call is made. The semantics of this function are determined by the socket options and the *`nFlags`* parameter. The latter is constructed by combining any of the following values with the C++ logical **OR** operator (`||`):
1555
1555
1556
1556
-`MSG_DONTROUTE` Specifies that the data should not be subject to routing. A Windows Sockets supplier can choose to ignore this flag.
Copy file name to clipboardExpand all lines: docs/mfc/reference/ctreectrl-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -799,7 +799,7 @@ Mask indicating one or more states to be retrieved. For more information on poss
799
799
800
800
### Return Value
801
801
802
-
A `UINT` that holds the C++ logical **OR** operator (||) of the values specified by `nStateMask`. For information on possible values, see [`CTreeCtrl::GetItem`](#getitem). To find the value for a specific state, perform a C++ bitwise **AND** operator (&&) f the state value and the return value, as shown in the following example.
802
+
A `UINT` that holds the C++ logical **OR** operator (`||`) of the values specified by `nStateMask`. For information on possible values, see [`CTreeCtrl::GetItem`](#getitem). To find the value for a specific state, perform a C++ bitwise **AND** operator (`&&`) f the state value and the return value, as shown in the following example.
0 commit comments