[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [JDEV] Suggestions



On 26 Apr, Thomas Charron wrote:

> 	I'm insulted..  I think I shall now have to put on my black trench, grab my
> copy of Doom, and head over to your house..

Bring it on! :) I must confess I'm somewhat of a Quake/Half-life
deathmatch player. I don't like booting to Windows, but when I do, it's
to play some deathmatch... :) But i'm not much on trench...<moment of
silence>

> example of using xpt_pool..)

Cool. I'll check it out...

> 
> 	Which is why in the Windows code, I'm not using a bit of their networking
> code.  Microsoft Foundation Classes has a class named, ironically enough,
> CAsyncSocket, which uses callbacks to tell you when you can send/recieve.

Actually, I'm developing multi-threaded NT service for a project at
school and I'm just using the standard Winsock calls (No WSA_ crap,
either). As of Winsock 2.0, all standard BSD socket calls can be safely
multi-threaded (which is mucho simpler than using their async stuff).
It works really well and is (with the exception of the WSAStartup
calls) portable. Let me know if you need more specifics...

D.