network in my OS?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Hery
Member
Member
Posts: 65
Joined: Sat Dec 04, 2004 12:00 am

network in my OS?

Post by Hery »

what should i do if i want to have got TCP in my OS. i know that i shoul use first ARP, later IP and then my lovely TCP :D but what before ARP??
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: network in my OS?

Post by carbonBased »

Before anything you're going to need a network driver for your ethernet card... that would be my first step.

--Jeff
Hery
Member
Member
Posts: 65
Joined: Sat Dec 04, 2004 12:00 am

Re: network in my OS?

Post by Hery »

where can i find infromations about it??
User avatar
ManOfSteel
Member
Member
Posts: 60
Joined: Tue Feb 01, 2005 12:00 am

Re: network in my OS?

Post by ManOfSteel »

Hello,
the following six PDF documents discribe the functionning of NICs of different brands and different types. One of them even contains some assembler source code for a driver. The files are 3 megs. I hope they will help.
3c90xb.pdf
3c90xc.pdf
dp8390details.pdf
dp8390overview.pdf
ne2000.pdf
writingdriversforthedp8390.pdf
Last edited by ManOfSteel on Mon May 09, 2005 11:00 pm, edited 2 times in total.
Hery
Member
Member
Posts: 65
Joined: Sat Dec 04, 2004 12:00 am

Re: network in my OS?

Post by Hery »

thank you very much!!! i'm sure that it help me :D
ok, what i should do now (if we think i have got driver for my ethernet card)
User avatar
ManOfSteel
Member
Member
Posts: 60
Joined: Tue Feb 01, 2005 12:00 am

Re: network in my OS?

Post by ManOfSteel »

Hello,
you could probably begin studying some network protocols and network programming.
You may find some useful informations in these sites.
http://www.ecst.csuchico.edu/~beej/guide/net/
http://www.rfc-editor.org/rfcsearch.html
Last edited by ManOfSteel on Tue May 10, 2005 11:00 pm, edited 1 time in total.
Hery
Member
Member
Posts: 65
Joined: Sat Dec 04, 2004 12:00 am

Re: network in my OS?

Post by Hery »

did you mean that i now must make sockets in my OS??
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: network in my OS?

Post by Legend »

Implement the exact API from for example BSD sockets or Winsock ... no, that should not be necessary unless you want.
Implement something that follows a similiar concept - in the end you'll end up doing this no matter what you do, as this is what TCP/IP basically is.
*post*
Post Reply