receive method of datagramsocket class
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   neeraj_jain
Posted On:   Friday, April 6, 2001 11:25 AM

I am trying to write a sniffer which continuously listens on a specified port. The problem is that when I am trying to receive data from this port using datagramsocket's receive method, It's throwing the NullPointerException even the datagramsocket object is not null and there is data to be received on that port.

Please suggest somehting.
Thanks in advance

About | Sitemap | Contact