© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
H. DuttInterprocess Communication with macOShttps://doi.org/10.1007/978-1-4842-7045-5_4

4. IPC Through Sockets

Hem Dutt1  
(1)
North Delhi, Delhi, India
 

Most programs written using high-level network APIs are purely clients. At a lower level, however, the lines are blurry. In this chapter we will explore all these concepts and will create a IPC channel between a client and server application using Sockets.

Introduction to Socket Programming

Socket and stream programming can be divided into the following categories:
  • Packet-based communication programs : Operating on one packet at a time, listening for incoming packets, then sending packets in reply.

  • With packet-based ...

Get Interprocess Communication with macOS: Apple IPC Methods now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.