Skip to content

BSD Sockets API: Basic blocking API #3662

@zephyrbot

Description

@zephyrbot

Reported by Paul Sokolovsky:

"As an application developer, familiar with BSD Sockets API (part of POSIX), I would like to develop, or port existing, simple (blocking sockets mode) networking applications using this API, on Zephyr RTOS. I would like the behavior of API calls to be as close as possible to POSIX. All of UDP, TCP, IPv4, IPv6 should be supported."

API calls planned to be implemented:

  • socket()
  • close() (for sockets)
  • connect() (blocking)
  • bind()
  • listen()
  • accept() (blocking)
  • send() (blocking)
  • recv() (blocking)
  • getaddrinfo()

There should be simple client and simple server sample applications to demonstrate the functionality, similar to echo_client/echo_server samples for native API.

(Imported from Jira ZEP-2226)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions