Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    2,474

    [SOLVED] Re: UDP Port Scanner For Computer Security Module

    That was exactly what I was asking you to show by using print statements in the loop. It would have shown you that the second time around the loop the value of pack had changed.
    Glad you found it...
  2. Replies
    8
    Views
    2,474

    [SOLVED] Re: UDP Port Scanner For Computer Security Module

    If none of the variables are ever null, then I don't understand where the error message comes from.
    I noticed you do NOT have a printStackTrace call in the catch block. You should ALWAYS put one...
  3. Replies
    8
    Views
    2,474

    [SOLVED] Re: UDP Port Scanner For Computer Security Module

    What is going on at statement 116?
    What are the values of the variables used in that statement?
  4. Replies
    8
    Views
    2,474

    [SOLVED] Re: UDP Port Scanner For Computer Security Module

    What is going on at statement 116? It looks like a call to the send method. Are any of its arguments null?

    Add a println to show what the values are each time around the loop.
Results 1 to 4 of 4