16BPP.net
 
 
 
 
 Previous Page   Socket Class Intro - Original C Code   Next Page 

Socket Class Intro - Original C Code

There are only two files that really matter in part client.c and server.c, but a Makefile is provided for your convince and the end of this page.

 

Server

 

Client

 

Makefile

If you are using a different C compiler (other than clang), change the value of CC to be whatever it is (e.g. gcc).

 

 Previous Page   Socket Class Intro - Original C Code   Next Page