Welcome to the blog of Can Sar, a Stanford CS major. This blog is made up of my thoughts on Computer Science and the computer industry, as well as ever exciting tales from my life.

July 12, 2004

The First Step

This introduction to sockets is simply amazing. How else would I have learned that on systems with AFS (such as Stanford's Leland), Unix Domain Sockets have to be created in the /tmp directory, otherwise operations on them simply fail with Not a Socket but a File? While reading TCP/IP Illustrated, Volume 3 might have helped, my copy of the book was not currently available, and reading through it would have taken too long anyway. Whoever ported Nachos to the Stanford systems had no clue about this, so I had to figure it out.
Eventhough I had to do lots non-coding stuff today, I made a lot of progress this evening. I changed a lot of the underlying Nachos-machine code, and everything is working well now. The output below is from 2 local copies of Nachos performing a successful network SelfTest. Tomorrow should be very exciting.

Got: Hello there! : from 1, box 1
Got: Hello there! : from 0, box 1
Got: Got it! : from 1, box 1
Machine halting!
Network I/O: packets received 2, sent 2
Got: Got it! : from 0, box 1
Network I/O: packets received 2, sent 2
Machine halting!

Posted by Can Sar at July 12, 2004 02:30 PM to category Computer Science | TrackBack
Comments
Post a comment









Remember personal info?