Computer networks: socket programming in C

Friday, November 28, 2008 » programming, uni

Continuing the upload of based on nice-to-being-here, today I will share the classic skeleton of the socket programming a client-server code. Remember as we were getting to the end of the computer network course had to create three processes where the first one sends data (client) to the middle process (it behaves like client and server as well) and sends forward to a third process that receives it (it behaves like server). See details in the files. Behold..

[ client.c ][ server.c ] | [ x.c ][ y.c ][ z.c ]