Generic and open interface for sockets
|Assignee:||Cédric RICARD||% Done:|
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.
#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.