Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » RMI
Re: RMI [message #9235 is a reply to message #9220] Mon, 23 April 2007 08:04 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
zsolt wrote on Sun, 22 April 2007 10:17

I was thinking about creating some callback system for network communication, because in an event based system (GUI app) blocking calls are not the best.


I am working on the same, but wanted to extend it to all Files/Devices.

On Linux: poll with read/write
on Windows ReadFile, WriteFile with OVERLAPPED and MsgWaitOnMultipleObjects

the Problem i have to solve at the moment is how to get the numbers of bytes in the buffer at a communication device on Windows. On Linux I use a nonblocking read, it returns the number of bytes read or gives the error wouldblock if nothing is in the buffer.

Do you have any Ideas?
Bas

[Updated on: Mon, 23 April 2007 08:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DrawAggData.cpp and internal AggDrawData formats
Next Topic: New hash folding function...
Goto Forum:
  


Current Time: Thu Jun 26 20:54:49 CEST 2025

Total time taken to generate the page: 0.03990 seconds