I owe this guy my entry into network programming and eventually security.
Beej's Guide to Network Programming
31–40 of 51 posts
Re: Beej's Guide to Network Programming
#32Is there a similar or updated guide some place which includes non-blocking i/o?
Re: Beej's Guide to Network Programming
#33Is there a similar or updated guide some place which includes non-blocking i/o?
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)
Re: Beej's Guide to Network Programming
#34Still not updated to mention anything more than select() as far as non-blocking IO is concerned, like poll, epoll, or, god no, using an abstract event loop. Nobody who cares about their code and sanity does blocking I/O with sockets. But then, I must confess I too started network programming with this guide :) It presents the basics nicely, but there's a lot more you should learn about network programming.
Are you saying "god no" to using an abstract event loop? If so, why? (I've been using libuv for a project, so far so good.)
Re: Beej's Guide to Network Programming
#35If I'm not mistaken this original document was on Chico State's computer science domain. It was my understanding Beej went to Chico; does anyone know for sure? This was around long before 2006, I remember reading it around the year 2000 when I was first getting into C++. (miracle this quality of a document escaped anyone's brain in Chico -- I know, I went to CSUC. Let's just say it was hard to concentrate there :)
Re: Beej's Guide to Network Programming
#36If I'm not mistaken this original document was on Chico State's computer science domain. It was my understanding Beej went to Chico; does anyone know for sure? This was around long before 2006, I remember reading it around the year 2000 when I was first getting into C++. (miracle this quality of a document escaped anyone's brain in Chico -- I know, I went to CSUC. Let's just say it was hard to concentrate there :)
Re: Beej's Guide to Network Programming
#37If I'm not mistaken this original document was on Chico State's computer science domain. It was my understanding Beej went to Chico; does anyone know for sure? This was around long before 2006, I remember reading it around the year 2000 when I was first getting into C++. (miracle this quality of a document escaped anyone's brain in Chico -- I know, I went to CSUC. Let's just say it was hard to concentrate there :)
I'm curious as to why its hard to concentrate, is it a party school or does it have its own beach like UCSB or what?
Re: Beej's Guide to Network Programming
#38If I'm not mistaken this original document was on Chico State's computer science domain. It was my understanding Beej went to Chico; does anyone know for sure? This was around long before 2006, I remember reading it around the year 2000 when I was first getting into C++. (miracle this quality of a document escaped anyone's brain in Chico -- I know, I went to CSUC. Let's just say it was hard to concentrate there :)
Re: Beej's Guide to Network Programming
#39When 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…