Hi I want to read the data from a port example 1234 which is always listening some application buffers data on that port. Now I have to read that port and print data which is buffered on that port in java.
Thanks i开发者_开发问答n advance
If I understood your correctly you wish to read information sent to other application that is listening to specific port. If I am right you actually wish to implement sniffer in java.
In this case I recommend you to use JPcap: http://jpcap.sourceforge.net/
精彩评论