This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: TCP/IP For Synthetic Target?


Colin Ford wrote:
> 
> Hi,
> 
> anyone know if this is being worked on? If not does
> anyone have any ideas on where to start.

Look at hal/synth/i386linux/current/src/syscall-i386-linux-1.0.S and add
entries for accept, socket, bind, etc. Then don't use the eCos stack or
fileio stuff, but provide your own stubs that call cyg_hal_sys_accept, etc.

If you want to do this better, look at io/fileio/current/src/socket.cxx and
work out how to plug in to the nstab table which would allow you to provide
an integrated approach that did work with the existing fileio approach.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]