CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: boolman

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    6,236

    Re: linux: enlarge FD_SETSIZE

    Hello

    This is probably because you exceed the limit of your process' file descriptor table. I do not know any work around for this, if I'm not mistaken this limit is enforced by your kernel.

    I...
  2. Replies
    3
    Views
    877

    Re: How to test for connection

    As I tried to say in my previous post; if ::select(...) says that your socket is readable it means that you can either read/recv from it or that the connection has been closed. Check out Beej's guide...
  3. Replies
    3
    Views
    877

    Re: How to test for connection

    Hello

    The socket in question will be selected for readability when the connection is closed, if you're using ::select(...). Use the return value from ::recv(...) to determine when the connection...
  4. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    December Flower - In Flames
  5. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    For the greater good of god - Iron Maiden
  6. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    The Loneliness of the Long Distance Runner - Iron Maiden
  7. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Like You Better Dead - In Flames
  8. Replies
    4
    Views
    865

    Re: Socket program in 2 parts

    I found "Beej's Guide to Network Programming" very usefull when I was learning about sockets. It can be dowloaded here: http://beej.us/guide/bgnet/ . When you've read it you'll have a good starting...
  9. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Forgive me, I am Swedish - Freak Kitchen
  10. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Nice.

    The reincarnation of Benjamin Breeg - Iron Maiden
  11. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Cloud Connected - In Flames
  12. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Deconstruction - Nevermore
  13. Replies
    2,690
    Views
    1,020,329

    Re: What Song Are You Listening To Now¿

    Take this life - In Flames
  14. Re: Storing socket classes in a std::vector

    It isn't critical that my library doesn't depend on external libraries, but it would be a good thing according to me. I believe that less dependencies makes it easier to compile, that might be wrong....
  15. Re: Storing socket classes in a std::vector

    marten_range: Thanks for the tip. But there's two downsides with that solution as far as I can se it. The first is that the library will be depending on boost to compile, the second is that iterators...
  16. Re: Storing socket classes in a std::vector

    Thanks for the fast replies, I appreciate it. I suspected that it wouldn't be possible but I wasn't sure so I thought it was best to ask someone else. I have to find some other way to store the...
  17. [RESOLVED] Storing socket classes in a std::vector

    Hello!

    I'm working on a small library that I'm planing to use in some future projects. I'm trying to write a couple of classes and functions that I believe could be very usefull in the future. One...
  18. Replies
    12
    Views
    1,251

    Re: IRC Client

    Ok, it's the buffer that's the key, it has to be used correctly. Here's a better example, but still not the best. It's basically what philkr allready told you but as an example:


    std::string...
  19. Replies
    12
    Views
    1,251

    Re: IRC Client

    Well, just like philkr said, you can never be sure that you'll get a complete message with recv. If you implement a buffer in which you keep everything recvd on the socket you can choose to process...
  20. Replies
    12
    Views
    1,251

    Re: IRC Client

    Well, I'll try to help you if I can. But exactly what's your problem, what isn't reacting to your recv() calls?
  21. Replies
    12
    Views
    1,251

    Re: IRC Client

    I solved the problem. I read the RFC again and made some changes and it's seems to be working now. It would seem like I have to register before I can reply to a ping and that the "\001" characters...
  22. Replies
    2
    Views
    1,799

    Re: Learn Device Driver Programming

    Hello.
    I think that you can find some good articles at codeproject.com about device driver development in the Windows enviroment. If I'm not mistaken, there's five of them and they will probably...
  23. Replies
    12
    Views
    1,251

    [RESOLVED] IRC Client

    Hi all.
    I'm not sure if this is the right forum for this thread, but being in desperat need of help, I really hope so. I'm trying to write an IRC client using mainly wxWidgets, but I've run in to...
  24. Re: Inserting Items to a ListView window

    Hmm, this is a bit awkward. This piece of code should have been posted from the beginning:


    // The code from my first post + the code underneath

    for(i = 0; i < RowResult.size(); i++)
    ...
  25. [RESOLVED] Inserting Items to a ListView window

    Hi
    I've created a ListView window, but I can't figure out how I'm supposed to add items to it. The problem is that I can't know how many columns the ListView will contain. I'm creating the listview...
Results 1 to 25 of 43
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured