Results 1 to 4 of 4
- 06-13-2011, 10:52 PM #1
Member
- Join Date
- Jun 2011
- Posts
- 2
- Rep Power
- 0
receive packets and insert cookies
Hello everybody
I am new to java network programming and I seriously need help. I want to implement a class that receives packets on behave on another website, insert cookies in the packet or check if cookie exist, then direct the request to the website, seems weired but I realy want to get even a hint about how to do it?
- 06-13-2011, 11:26 PM #2
Read about the HTTP protocol.
Look at the HttpURLConnection class and other classes in the java.net package.
Also read up on Sockets.
- 06-20-2011, 12:54 PM #3
Member
- Join Date
- Jun 2011
- Posts
- 2
- Rep Power
- 0
thanks :)
thank you very much for your help, I did exactly what you told me to do, and I knew how to handel cookies if I have object from URLConnection (client side), but to implement a server side program, I'll need to have server socket to accept connections, I didnt find any useful info on how to read cookies from the server side (to check whether this client visted me befor or not for example).
is there any misunderstanding? or I am seraching for somthing wrong? thanks again!
- 06-20-2011, 01:11 PM #4
Similar Threads
-
not able to receive packets?? pls help.
By abdullahansari in forum New To JavaReplies: 1Last Post: 06-24-2010, 02:19 AM -
Reading TCP Packets
By Clive in forum NetworkingReplies: 0Last Post: 07-09-2009, 02:02 PM -
How to insert large data into database using one insert query
By sandeepsai39 in forum New To JavaReplies: 3Last Post: 02-28-2009, 09:17 AM -
Java code that allows me to make and receive calls, send and receive sms
By nareshbabu@live.in in forum NetworkingReplies: 0Last Post: 12-02-2008, 10:55 AM -
Encrypting packets
By bugger in forum NetworkingReplies: 2Last Post: 02-04-2008, 10:24 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks