Hi, I suddenly find myself wondering this question, is it possible in java to hijack a socket?
say a server is listening on port 5000, would it be possible to write a java programme to listen on port 5000, and forward the same data to the server via port 5000.
What would be involved in doing this? I feel this involves writing a new network driver that would pass the data to the java prog, which then does some processing and pass it back to the driver before sending it to the server. Of course all this processing could just as well be done in the driver code itself~
And just out of curiosity, how would you approach writing this driver for a windows noob?