> -----Original Message-----
> From: MACKENZIE,IAN (A-Scotland,ex1) 
> [mailto:[EMAIL PROTECTED]]
> Sent: 06 November 2000 12:53
> To: '[EMAIL PROTECTED]'
> Subject: Help, fileevent (Tk) fails in NT for sockets

> I have a PerlTk program that uses sockets with the fileevent
> set to call the callback sub when the socket filehandle is readable,
> this works fine in unix but in WINNT the filevent calls ths callback
> sub even when there is no connection to the socket 
> filehandle, has ANYONE
> found a fix to this dammed problem

See the manual page for fileevent...

BUGS
On windows platforms fileevent is limited in the types of filehandles that
behave correctly. Making filefhandles non-blocking is only implemented on a
subset of UNIX platforms (see Tk::IO). 

...so there you have it! Why not use select?

Michael Erskine (MSEmtd)
mailto:[EMAIL PROTECTED]
<JAPH>
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to