in reply to Re: Re: Check for request from UDP client
in thread Check for request from UDP client

Yes, you can use select() as well, which is a more traditional way, since with one call you can check on a large number of sockets simultaneously. If you want to use this, which isn't a bad idea, you might as well use IO::Select instead of the regular one, seeing as how you are using IO::Socket. See the documentation page by clicking on that link, as it contains a useful example.
  • Comment on Re^3: Check for request from UDP client

Replies are listed 'Best First'.
Re: Re^3: Check for request from UDP client
by Anonymous Monk on Jul 06, 2001 at 02:15 UTC

    I only need to check one socket, so I think I'll try the short, simple method you suggested first. Thanks again for the help.

    jgentry@swcp.com