Thread: OS independent Network Protocol implementation in C (Example)

  1. #1
    Registered User
    Join Date
    Mar 2019
    Posts
    1

    OS independent Network Protocol implementation in C (Example)

    Hey,

    I want to implement a network protocol using a C-based library that will be operating system independent, POSIX compliant and will use only the standard C library. That will enable users to integrate this library either in applications that operate on operating systems like Linux, or in microcontroller environments.

    I don't haven't worked much on implementation of protocols. I will really be thankful if anyone could provide me a link of an example code or documentation.

    Thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > operating system independent, POSIX compliant
    This makes no sense.
    POSIX is a specification for the APIs an OS provides.

    If you say POSIX compliant, you have just specified an OS with a minimum set of features.

    Besides, standard C (stdio.h and the other dozen or so headers) know NOTHING about networking.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Communication protocol implementation : Array vs Structure
    By magicspark in forum C Programming
    Replies: 3
    Last Post: 09-11-2012, 09:48 AM
  2. Replies: 7
    Last Post: 01-08-2011, 08:31 AM
  3. Where are network protocol structs defined?
    By homer_3 in forum Windows Programming
    Replies: 3
    Last Post: 04-13-2010, 04:05 PM
  4. Webdav Protocol implementation
    By ujwala in forum C Programming
    Replies: 1
    Last Post: 03-20-2010, 06:21 AM
  5. EDCF protocol in Network simulation program
    By linux_007 in forum C++ Programming
    Replies: 0
    Last Post: 04-12-2009, 03:04 PM

Tags for this Thread