Re: [boost] sockets library question

2003-01-14 Thread Jessie R. Hernandez
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 library question

2003-01-13 Thread Douglas Gregor
On Monday 13 January 2003 04:58 pm, Blue, Reginald V wrote:
> I've recently joined this list, and I've lurked for a bit (trying to get
> the feel of the group), but I'm still not sure if this is on topic or not. 
> If I need to be redirected elsewhere, please let me know.

Welcome! This is perfectly on-topic for this list.

> I noticed in the Sandbox CVS there are several socket implementations and,
> presumably, they're all based on streams.
>
> The question I have is:  Is it likely for any of them to make it into the
> main CVS stream?
>
> Personally, I think it's a good idea that one of them does make it into the
> main CVS stream (as TCP/IP is quite ubiquitous these days...perhaps more so
> than threads.)

I agree. I believe that we need networking support in Boost (and in the C++ 
standard), but I do not know the status of any of the existing socket 
implementations. 

Doug
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



[boost] sockets library question

2003-01-13 Thread Blue, Reginald V
I've recently joined this list, and I've lurked for a bit (trying to get the
feel of the group), but I'm still not sure if this is on topic or not.  If I
need to be redirected elsewhere, please let me know.

I noticed in the Sandbox CVS there are several socket implementations and,
presumably, they're all based on streams.

The question I have is:  Is it likely for any of them to make it into the
main CVS stream?

Personally, I think it's a good idea that one of them does make it into the
main CVS stream (as TCP/IP is quite ubiquitous these days...perhaps more so
than threads.)

Thanks for your time.
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost