Search:
Type: Posts; User: JacobNax
Search:
Search took 0.03 seconds.
-
September 26th, 2011, 07:10 PM
thanks mike
i'll give it a look
---
but do u have any suggestion for UNIX OSes ?
-
September 26th, 2011, 10:29 AM
thanks Paul
your version looks neat and well written
i haven't studied much the algorithms, just how the sort() and shuffling works.
-
September 26th, 2011, 09:44 AM
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...
-
September 26th, 2011, 09:28 AM
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...
-
September 26th, 2011, 08:07 AM
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...
-
September 26th, 2011, 07:44 AM
thats way too easy even for a novice
-
September 26th, 2011, 07:00 AM
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...
-
September 26th, 2011, 04:40 AM
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);...
-
September 25th, 2011, 02:27 PM
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%
-
September 24th, 2011, 06:37 PM
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...
-
September 24th, 2011, 12:59 PM
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...
-
September 24th, 2011, 08:56 AM
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 )
-
September 24th, 2011, 08:52 AM
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;}...
|
Click Here to Expand Forum to Full Width
|