in reply to Re: Socket HASBUF
in thread Socket HASBUF

You can run a &sub while you are checking for incoming data.