Library for pool, sockets, threads

This is a discussion on Library for pool, sockets, threads within the C++ Programming forums, part of the General Programming Boards category; Is there any library that provides this kind of service portably? Boost hasn't a generic pool, and has no sockets. ...

  1. #1
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152

    Library for pool, sockets, threads

    Is there any library that provides this kind of service portably? Boost hasn't a generic pool, and has no sockets. Ace seems too complex for such a small problem. I am investigating Common CPP. Do you know any library for such requirements?

    Thanks in advance.

  2. #2
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    Boost has everything as far as I know.

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I don't think boost has sockets. It does have threads.

  4. #4
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    It does.. Take a look at ASIO.

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    hmm, I didn't see it on the Boost Libraries page

    file:///C:/Boost/libs/libraries.htm

  6. #6
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    Its not in a library packet yet.. See more on http://asio.sourceforge.net/

  7. #7
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    Boost doesn't have pools =(

  8. #8
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by indigo0086 View Post
    hmm, I didn't see it on the Boost Libraries page

    file:///C:/Boost/libs/libraries.htm
    You're referring us to a file on your hard drive?

  9. #9
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by Mortissus View Post
    Boost doesn't have pools =(
    Yes it does:

    http://www.boost.org/libs/pool/doc/index.html

  10. #10
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    I saw it before. Isn't it a memory pool?

  11. #11
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by Mortissus View Post
    I saw it before. Isn't it a memory pool?
    What kind of pool do you want then?

  12. #12
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    I need a template pool. Basically, I will need a connection pool (sockets, odbc, and such) and a thread pool. A memory pool could be useful, if the system is slow (but I think tat won't be necessary). I think that I will create my own template pool.

  13. #13
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by Mortissus View Post
    I need a template pool. Basically, I will need a connection pool (sockets, odbc, and such) and a thread pool. A memory pool could be useful, if the system is slow (but I think tat won't be necessary). I think that I will create my own template pool.
    By pool you mean somewhere you store reusable objects?

  14. #14
    Registered User Mortissus's Avatar
    Join Date
    Dec 2004
    Location
    Brazil, Porto Alegre
    Posts
    152
    Yes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Library Wrapper
    By cusavior in forum C Programming
    Replies: 3
    Last Post: 03-25-2008, 10:27 AM
  2. Difficulty choosing graphics library
    By jdiperla in forum Game Programming
    Replies: 11
    Last Post: 02-27-2008, 05:35 PM
  3. [newb] how to use threads with sockets ?
    By jabka in forum C Programming
    Replies: 1
    Last Post: 08-07-2007, 11:51 AM
  4. Question with Winamp Library
    By moonwalker in forum Tech Board
    Replies: 3
    Last Post: 08-07-2003, 08:08 PM
  5. Block and wake up certain threads
    By Spark in forum C Programming
    Replies: 9
    Last Post: 06-01-2002, 03:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21