Multiprocessing socket sharing

I m trying to write a program that will use mutliprocess architercture.
I want to listen for connection on server on one process and on other process I want to send and recv. message from client socket. Can anyone share some example code of how would i do that ?
For Windows, do a search for "winsock server example" and "winsock client example".

Winsock is the standard Windows Sockets library. The Socket library is the common method for doing network programming in C.

A good tutorial is: https://beej.us/guide/bgnet/
Last edited on
Topic archived. No new replies allowed.