Feature #24

Generic and open interface for sockets

Added by Cédric RICARD over 10 years ago. Updated over 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Cédric RICARD% Done:

0%

Category:General
Target version:1.x
Platform: Triage Stage:
Resolution:

Description

We absolutely need to have a generic and opened Anubis API for BSD sockets. The current API is very very restrictive and doesn't allow to do any thing other than simple and basic TCP/IP.

We can't do any socket configuration nor use any other protocol than TCP or UDP.

History

#1 Updated by Alain Prouté over 10 years ago

  • Status changed from New to Assigned

I propose to do that in 3 steps:

(1) Propose a precise interface to be inserted into predefined.anubis; i.e. declarations of all primitives needed. The discussion will determine the best way of balancing needs and the Anubis philosophy.

(2) When the interface is okay, I will prepare the primtives in syscall.cpp, giving access to the arguments, and preparing allocations (if needed) for results.

(3) You will have to complete the primitives in syscall.cpp for the actual manipulation of sockets.

#2 Updated by Cédric RICARD over 10 years ago

  • Status changed from Assigned to New

The VM implementation is done but still need to be tested.
The INET socket API in Anubis has not be written.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux