30.2 TCP Client AlternativesWe have already examined various client designs, but it is worth summarizing their strengths and weaknesses:
At the end of Section 16.2, we summarized the timing differences between these various versions. As we noted there, although the nonblocking I/O version was the fastest , the code was more complex and using either two processes or two threads simplifies the code. |