Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > Platform/API C++

Reply
 
LinkBack Thread Tools Display Modes
Old 03-31-2006, 01:20 AM   #1 (permalink)
jaro
Registered User
 
jaro's Avatar
 
Join Date: Feb 2006
Posts: 9
jaro is on a distinguished road
How do you use poll() in programming for Windows?

Hi

How do you use poll() in programming for Windows?
All the sample code that I've read is for Unix and says that I have to include <sys/poll.h> which my compiler cannot find.
btw, I'm using MVC6 and my os is win2k.

Regards,
Jaro
jaro is offline   Reply With Quote
Old 04-20-2006, 01:26 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 704
DJMaze is on a distinguished road
poll waits for some event on a file descriptor but, windows has no file descriptors. This because things like stdout are not available in the win32 api.
Tell us what you want to poll and someone could explain how to do it.
DJMaze is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparison of Different Programming Languages Punch-M6.net All Other Coding Languages 23 04-19-2007 01:34 PM
Where can i find e-book (PDF) about port programming with C++ Builder 6 Electronics Standard C, C++ 1 04-26-2005 05:12 AM
CLI for noobies: shell programming sde Code Newbie News 0 03-15-2004 12:33 PM
Palm Programming DesertWolf All Other Coding Languages 0 12-31-2002 06:13 AM


All times are GMT -8. The time now is 09:36 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting