Beej's Guide to Network Programming
41–50 of 51 posts
Re: Beej's Guide to Network Programming
#42Re: Beej's Guide to Network Programming
#43Earlier quoted context omitted.
There is http://www.wangafu.net/~nickm/libevent-book/ which is useful even if you are not using libevent (which most of the cool kids are)
Some of those cool kids should take a look at libev: http://software.schmorp.de/pkg/libev.html
Re: Beej's Guide to Network Programming
#44When I was at university I wanted to take a class that had 'introduction to computer networks' as a prerequisite, but I didn't want to wait 2 semesters for it to come around again after taking networks first. I spoke to the professor and he said he'd let me enroll in the course if I promised to carefully read Beej's guide first, since it contains all the essentials I'd really need for this follow-on. So, this saved m…
Even if you don't code the examples, reading them will give you so much information.
Re: Beej's Guide to Network Programming
#45Re: Beej's Guide to Network Programming
#46Re: Beej's Guide to Network Programming
#47Is there a similar or updated guide some place which includes non-blocking i/o?
Check out "The C10K Problem" ( http://www.kegel.com/c10k.html ) for a high level discussion of some techniques for high performance servers. For basic info on Epoll: http://www.devshed.com/c/a/BrainDump/Linux-Files-and-the-Eve... epoll socket tutorial: http://kovyrin.net/2006/04/13/epoll-asynchronous-network-pro... Or kqueue if your OS supports it: http://wiki.netbsd.org/tutorials/kqueue_tutorial/ Lower level details…
Re: Beej's Guide to Network Programming
#48Re: Beej's Guide to Network Programming
#49it's a shortcut to learn basic network programming with sockets, without spending too much time on it. Anyone more than casually serious about it should consider looking at Richard Stevens books, Unix network programming and TCP/IP illustrated (esp. volume 2).
Re: Beej's Guide to Network Programming
#50This is the number one thing that got me through network class back in university. Next to that is the professor's office hour. I don't think I even touched the textbook.