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

Search:

Type: Posts; User: JacobNax

Search: Search took 0.01 seconds.

  1. Re: Server to Client(s) best performance approach question

    thanks mike
    i'll give it a look

    ---

    but do u have any suggestion for UNIX OSes ?
  2. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    thanks Paul
    your version looks neat and well written
    i haven't studied much the algorithms, just how the sort() and shuffling works.
  3. Server to Client(s) best performance approach question

    I just have a question out of curiosity :

    whats the best approach when dealing with massive clients and a select() call?

    as far as i know if we got about 1000+ connections and call select() to...
  4. Replies
    2
    Views
    1,963

    Re: Multithreaded client server problem

    i'll tell you whats your problem

    since you got multiple clients, you need multiple FD's to set
    if you don't set the FD on the client (server-side talking) and try to send( ) on that socket, it...
  5. Replies
    4
    Views
    492

    Re: Segmentation Fault

    Your segmentation fault is probably caused from an out_of_bounds exception
    You are probably trying to access a bad array location.

    Didn't read all of your code but i would say that your problem...
  6. Replies
    5
    Views
    554

    Re: really need help now

    thats way too easy even for a novice
  7. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    yes, i do not insert elements into vectors or containers of alien threads.
    the Clients* instance is used for the MYSQL login process of the clients.
    .erase( ) is called on the same thread. all i...
  8. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    heres some clue about the life-cycle of the Clients* object



    CTCPSocket *NewSocket = pdcc->m_CTCPS->Accept( (fd_set *)&fd );

    if( NewSocket )
    {
    NewSocket->NoDelay(true);...
  9. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    i think you didn't pay attention at all at the code.

    i do not use the object instance without checking if First : object instance not null



    if( !foo )
    return false;

    which works 100%
  10. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    Like you can see in the function, the instance of that class is never ever used/referred/dereferred if the flag DeleteMe is set because every time we wanna see or change data or anything on that...
  11. Replies
    20
    Views
    4,840

    Re: Segmentation Fault ??

    I use multiple threads for mysql operations such as inserting rows, updating rows, deleting rows etc.

    i am aware of synchronization methods such as mutexes. i use boost::thread mutexes.
    but i'm...
  12. Replies
    5
    Views
    1,113

    Re: URL string query

    hi John

    try this function i made


    void STRING_Replace( string &Text, string Key, string Value )
    {
    // don't allow any infinite loops

    if( Value.find( Key ) != string :: npos )
  13. Replies
    20
    Views
    4,840

    Segmentation Fault ??

    Hi, i have a very weird fatal exception happening very rarely on my application (compiled under gcc - Ubuntu linux)

    it seems that this this function :


    bool GetConnect( ) {return m_Connected;}...
Results 1 to 13 of 13


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center