H
Hobbit HK
I'm using WinXP (although I also have RH Linux and there's no
difference) and I want to write a script which uses sockets... Now, my
main problem is when there's nothing else to read from the socket...
That's where my script stucks... My guess is that because it keeps on
waiting for something (it can still get data)... Is there some way to
bypass this?
Will Blocking=>0 in IO::Socket::INET's new() help?
BTW
I'm using $line=<$sock> to read from the socket.
difference) and I want to write a script which uses sockets... Now, my
main problem is when there's nothing else to read from the socket...
That's where my script stucks... My guess is that because it keeps on
waiting for something (it can still get data)... Is there some way to
bypass this?
Will Blocking=>0 in IO::Socket::INET's new() help?
BTW
I'm using $line=<$sock> to read from the socket.