Windows Socket Timeout
James Miller
james at aatch.net
Thu Mar 22 20:41:41 PDT 2012
On 23 March 2012 12:52, David Nadlinger <see at klickverbot.at> wrote:
> On Thursday, 22 March 2012 at 23:36:03 UTC, Paulo Pinto wrote:
>>
>> If you really want performant sockets on Windows, you need to make use
>> of the Windows specific APIs, and use IO completion ports not select.
>
>
> Depending on what you are trying to achieve, you could always consider using
> enet or (parts of) RakNet.
>
> David
Ideally, no matter what platform you're on, you want some form of
non-blocking or asynchronous networking. The easiest way would be a
seperate thread for all networking logic. Especially since you should
probably have a separate thread for your rendering code anyway.
--
James Miller
More information about the Digitalmars-d
mailing list