linux async sockets
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > linux async sockets




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    linux async sockets  
John Doe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-07 06:25 AM

How portable are they? Cygwin, BSD?





[ Post a follow-up to this message ]



    Re: linux async sockets  
Frank Cusack


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-07 06:21 PM

On Sun, 25 Mar 2007 01:33:03 +0100 John Doe <NOTOSPAMjohndoe64738@yahoo.com> wrote:
> How portable are they? Cygwin, BSD?

WHAT are they?





[ Post a follow-up to this message ]



    Re: linux async sockets  
Logan Shaw


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-07 06:21 PM

Frank Cusack wrote:
> On Sun, 25 Mar 2007 01:33:03 +0100 John Doe <NOTOSPAMjohndoe64738@yahoo.co
m> wrote: 
>
> WHAT are they?

I'm guessing they're this:

http://aem.sourceforge.net/aemip.html

What I can't figure out is why, according to this documentation, there doesn
't
seem to be any support for writing to a socket.  Sure, you can write in
response to a read, but sooner or later, you're going to write more than
the kernel can buffer and your write() will block, or even with non-blocking
mode, you're going to make no progress and have to guess when to try again.
It would be nice to have an event that says "now would be a good time to try
writing again".  Of course, maybe I'm missing something and there's a
programming technique that makes this unnecessary.

As for portability, I'm guessing this is extermely UNportable.  It doesn't
even seem to run on stock versions of Linux; you have to add some extra
kernel support.

- Logan





[ Post a follow-up to this message ]



    Re: linux async sockets  
John Doe


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-25-07 06:21 PM

How about signal-driven sockets with O_ASYNC flag set?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register