Quote:
Originally posted by Slidey
go read beej's tutorial and learn not to be so vague
|
Sorry =/
I read the tutorial, but it's not what I was looking for.
I
think I need the socket.h and socket.c files, not 100% sure tho.
A fact is that I DO NOT HAVE SOCKETS.... I have an ethernet chip, a set of drivers for it, and a simple IP implementation. I need to make a socket interface for it.
I need the code that performs for example the CRC on the packet, that fills the IP datagram with the correct info. I need the code that puts the ports on the right place in the structure. I need the code of "open()" and "close()" so that I can smell those network bytes.
I hope that was a bit less vague...