Re: [boost] sockets library question
I have also recently joined this list and have lurked for some time, mainly to see if there was a socket library being developed. I saw several socket libraries in the Files section, but none of them were what I was looking for (I didn't want just a TCP socket library; I basically wanted a stream layer on top of the Windows/Unix/Linux socket functions). So I secretly began developing my own socket library which models the existing stream classes, such as basic_fstream (as I envision it would actually be incorporated into the standard, if that ever happens). Since the socket library topic has been brought up again, I have released my current code so that interested members can comment on it (note that it is far from complete, but it is in a fairly useful state). You download the library at http://groups.yahoo.com/group/boost/files/socketstream/ . Note that this folder named socketstream does not contain an underscore, as another folder does. I have tested the code under Visual C++ 6 (W2K) and GCC 3.2.1 (Red Hat Linux 8.0). To test it, you need to compile test.cpp and run it (it'll print out the index page of Google). I will add more documentation and code as I have time (normally every 1-2 days). Hopefully, I'll provide server sockets and socket options (getsockopt/setsockopt) soon. If you are interested, please comment on it. I would especially like to know if the benefits of an Acceptor/Connector pattern would outweigh the additional complexity involved (specifically, how much more complicated the sample test.cpp file would get). Thanks! Best regards, Jessie Hernandez ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] Sockets
Hi, On Sat, Nov 23, 2002 at 04:22:22PM +, Hugo Duncan wrote: Sockets have come up from time to time on this list, without concrete results. I am no expert, but based on previous discussions, I have tried to start describing a design at: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket (I don't often write formal designs, so please excuse (or correct) misuse of terminology etc.) I propose working with a group of interested people to develop this design and put together some code. As my socket programming experience is limited to tcp/ip streams, I would also like to ask people to provide small test cases. In particular, examples of datagram usage, multicast, broadcast, and non-ip usage. Please feel free to edit the wiki pages with comments, etc. Is there an interest to support also non-TCP/IP based protocols like IRDA/TP or raw sockets? Regards, Pavol ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RE: [boost] Sockets
Please feel free to edit the wiki pages with comments, etc. Looks like a nice start. I see you have already captured Beman and others prior work. I have added a references page for pointers to other C++ socket libraries and other references as well as a few other quick thoughts. See http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?RecentChanges Jeff ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] Sockets
I'm interested in participating in the design and implementation of a Sockets library. Your initial documents look like a good start. I have some comments, suggestions, and general ideas about a sockets library. Where should I post these? Should I add them to the Wiki page, or maybe post them to this list? I'm just curious because I haven't participated in Boost development before, and I don't want to choose the wrong forum for my input. Thanks, Rob ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] Sockets
- Original Message - From: Hugo Duncan [EMAIL PROTECTED] discussions, I have tried to start describing a design at: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket When I look at the examples I'm curious why I see this: socket_base::initialise(); ... socket.close(); socket_base::finalise(); Why doesn't this happen in the constructor/destructor of some object? regards Thorsten Ottosen, AAU ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost