Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

4.4.2.  Establishing the Client Connection

If a client connection is yet to be established, then handle_rsp () blocks until a connection request is made. A valid request is handled by rsp_server_request (), which opens a connection to the client, saving the file descriptor in rsp.client_fd.

This connection is also non-blocking. Nagel's algorithm is also disabled, since all packet bytes should be sent immediately, rather than being queued to build larger blocks.

Embecosm divider strip