Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

3.1. What you’re creating

The RPC server will allow you to listen on a TCP socket and accept a single connection from an outside TCP client. After it’s connected, it will let a client run functions via a simple ASCII text protocol over TCP. Figure 3.1 illustrates the design and function of the RPC server.

Figure 3.1. RPC server process connected through a socket to the world outside. It accepts requests over TCP, performs them, and returns the results to the client.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial