kaitoy / pcap4j

A Java library for capturing, crafting, and sending packets.

Home Page:https://www.pcap4j.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Create Java-based server

kwasibb opened this issue · comments

I would like to create Java server listens to a port, takes the packet and is casted to Packet class for further modification. Any idea how I can get this done?

Thank you.

I used Java sockets and then passed the message to a custom packet class.