using jNetPcap OpenSource | Protocol Analysis SDK

im new to this. does anyone know how to just get the packets from a list of Sockets instead of getting everything?

thanks.