gtpc1m38Transmission Control Protocol/Internet Protocol

Using activate_on_receipt

When many applications issue blocked read, recv, or recvfrom calls, there could be many ECBs suspended at the same time if no data is available to be returned to the application. To reduce the number of ECBs suspended at the same time, a unique TPF socket API function called activate_on_receipt is available. This function allows an ECB to continue processing or to exit while the application waits for data to arrive from the TCP/IP network. When data arrives, another ECB is created to read the message. See activate_on_receipt -- Activate a Program after Data Received for more information about the activate_on_receipt API function.