Real Time Programming

new topic     » topic index » view thread      » older message » newer message

I've been thinking of how to go about writing the real time strategy
game I proposed. Since it's a real time game, it will need some form of
multitasking. I've written cooperative multitasking libraries for
Euphoria, but this might be a problem when it comes to key presses,
mouse events, and network communications - especially the latter. I have
yet to figure out how to just read data from a socket without blocking
on either Windows or Linux. In winsock.e, I know there's the async
socket routines, but that uses callbacks, and since Euphoria is
non-reentrant, I don't know how to implement callbacks and constantly
run some code. If anyone has any insights for this, they would be greatly
appreciated.

Thanks,
Jeff Fielding

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu