WSARecvFrom
E724293
WSARecvFrom is a Winsock API function on Windows that receives data from a socket and retrieves the source address of the incoming datagram.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WSARecvFrom canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288420 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: WSARecvFrom Context triple: [Ws2_32, exportsFunction, WSARecvFrom]
-
A.
System.Net.Sockets.UdpClient
System.Net.Sockets.UdpClient is a .NET class that provides a simple, high-level API for sending and receiving UDP datagrams over the network.
-
B.
UDP
UDP (User Datagram Protocol) is a lightweight, connectionless transport-layer protocol used on the Internet for fast, low-overhead data transmission without guaranteed delivery or ordering.
-
C.
SCTP
SCTP (Stream Control Transmission Protocol) is a transport-layer network protocol designed to provide reliable, message-oriented communication with features like multi-streaming and multi-homing, often used for signaling and real-time data transmission.
-
D.
WinPcap
WinPcap is a Windows packet capture and network monitoring library that provides low-level network access for tools like Wireshark.
-
E.
wasi-sockets
wasi-sockets is a WebAssembly System Interface (WASI) proposal and API module that defines a capability-based, portable networking interface for using sockets in WebAssembly applications.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: WSARecvFrom Target entity description: WSARecvFrom is a Winsock API function on Windows that receives data from a socket and retrieves the source address of the incoming datagram.
-
A.
System.Net.Sockets.UdpClient
System.Net.Sockets.UdpClient is a .NET class that provides a simple, high-level API for sending and receiving UDP datagrams over the network.
-
B.
UDP
UDP (User Datagram Protocol) is a lightweight, connectionless transport-layer protocol used on the Internet for fast, low-overhead data transmission without guaranteed delivery or ordering.
-
C.
SCTP
SCTP (Stream Control Transmission Protocol) is a transport-layer network protocol designed to provide reliable, message-oriented communication with features like multi-streaming and multi-homing, often used for signaling and real-time data transmission.
-
D.
WinPcap
WinPcap is a Windows packet capture and network monitoring library that provides low-level network access for tools like Wireshark.
-
E.
wasi-sockets
wasi-sockets is a WebAssembly System Interface (WASI) proposal and API module that defines a capability-based, portable networking interface for using sockets in WebAssembly applications.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows Sockets API function
ⓘ
Winsock function ⓘ |
| applicableSocketState |
bound
ⓘ
connected ⓘ |
| belongsToAPI | Winsock2 NERFINISHED ⓘ |
| canSetFlag |
MSG_OOB
ⓘ
MSG_PARTIAL ⓘ MSG_PEEK ⓘ |
| declaredInLibrary | Ws2_32.lib ⓘ |
| definedIn | Winsock2.h NERFINISHED ⓘ |
| errorRetrievalFunction | WSAGetLastError NERFINISHED ⓘ |
| exportedBy | Ws2_32.dll ⓘ |
| headerRequirement | include <winsock2.h> ⓘ |
| introducedIn | Winsock 2 NERFINISHED ⓘ |
| linkRequirement | link with Ws2_32.lib ⓘ |
| parameter |
DWORD dwBufferCount
ⓘ
LPDWORD lpFlags ⓘ LPDWORD lpNumberOfBytesRecvd ⓘ LPINT lpFromlen ⓘ LPWSABUF lpBuffers ⓘ LPWSAOVERLAPPED lpOverlapped ⓘ LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine ⓘ SOCKET s ⓘ struct sockaddr FAR * lpFrom ⓘ |
| primaryUse |
receive data from a socket
ⓘ
retrieve source address of incoming datagram ⓘ |
| relatedFunction |
WSARecv
NERFINISHED
ⓘ
WSASendTo NERFINISHED ⓘ recvfrom ⓘ |
| requiresInitializationFunction | WSAStartup NERFINISHED ⓘ |
| returnsOnFailure | SOCKET_ERROR ⓘ |
| returnsOnSuccess | 0 ⓘ |
| returnType | int ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| supportsIOMode |
blocking
ⓘ
nonblocking ⓘ overlapped I/O ⓘ |
| supportsOverlappedCompletion |
I/O completion ports
NERFINISHED
ⓘ
completion routines ⓘ event objects ⓘ |
| supportsProtocolFamily |
AF_INET
ⓘ
AF_INET6 ⓘ |
| supportsSocketType |
SOCK_DGRAM
ⓘ
SOCK_RAW ⓘ SOCK_STREAM ⓘ |
| threadSafety | can be called concurrently on different sockets ⓘ |
| usedFor |
UDP datagram reception
ⓘ
receiving data from unknown remote endpoints ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: WSARecvFrom Description of subject: WSARecvFrom is a Winsock API function on Windows that receives data from a socket and retrieves the source address of the incoming datagram.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.