churcholz.blogg.se

Stop and wait protocol using socket programming in c
Stop and wait protocol using socket programming in c












stop and wait protocol using socket programming in c

I would recommend geany as you can quickly edit and run single file programs in it without much configurations.

stop and wait protocol using socket programming in c

You will need to have gcc compiler installed on your Linux system.

stop and wait protocol using socket programming in c

This tutorial assumes that you have basic knowledge of C and pointers. And now the newer official standard is posix sockets api which is same as bsd sockets. Although over time the api has become slightly different at few places. The socket api on linux is similar to bsd/unix sockets from which it has evolved. Any network communication goes through a socket. Same with any chat client like gtalk or skype. For example when you type in your web browser, it opens a socket and connects to to fetch the page and show it to you. Sockets are the "virtual" endpoints of any kind of network communications done between 2 hosts over in a network.














Stop and wait protocol using socket programming in c