[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    Re: 4 arg select on win32!
From:       Tom Henrik Aadland <tomha () tihlde ! org>
Date:       2003-06-26 12:25:47
[Download RAW message or body]


> From: Tom Henrik Aadland <tomha@tihlde.org>
> > I have a server which I'm suppose to port from unix to win32, the
> > problem
> >  seems to be with 4 arg select which according to different documents
> > should work on win32 with sockets. The purpose is to block until a
> > client tries to connect and send something. $nfound =
> > select($rout=$rin, undef, undef, undef); $rin and $rout are
> > constructed using vec and fileno. If this is suppose to work on win32,
> > can someone please point me to an example? Or maybe a possible
> > workaround. 
> 
> It should work just like under Unix assuming all the handles are 
> sockets. What did you try and what happened?

 I'm sorry I think I posted this a little too fast. 
But anyway what I'm trying is to port a server from unix world to
win32. The server runs and according to netstat it listens on the
specified port. The
communication however is another story so far. It seems they have
connection since the client crashes when I stop the server, but back to
the debugger. 
 
Cheers,
Tom

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic