something similar to a packet recorder?
is it possible to record what inet is sending? I have this code in a command button:
VB Code:
inet1.openurl("www.google.com")
is it possible to see what it's sending? This is what i want:
Code:
GET / HTTP/1.1
Accept: image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,*/*
User-Agent: Microsoft URL Control - 6.00.8169
Host: www.google.com
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: PREF=ID=9eb3555f6ecb4afc:TM=1169267595:LM=1169267595:S=zXZiKyzQAFc9ixd1
what im trying to do actually is just get the cookie, but having a packet recorder is the only way that would work... i think
Re: something similar to a packet recorder?
I don't think the inet control has any kind of method/property for getting data that is sent, only data that is received.
I could be wrong though as I don't use the inet control that often.
Re: something similar to a packet recorder?
Re: something similar to a packet recorder?
Quote:
Originally Posted by Hell-Lord
I think you're confusing inet with Winsock? :confused:
Either way, he's asking about how to get data that was sent, not how to send data. ;)
Re: something similar to a packet recorder?
o sorry wrong thing i was just having a chat with someone about INET and i got confused. LOL SORRY
Re: something similar to a packet recorder?
VB Code:
inet1.openurl (URL,datatype)
:) i think it should help this time notice how i didnt get mixed with winsock control ;)
Re: something similar to a packet recorder?
Quote:
Originally Posted by Hell-Lord
VB Code:
inet1.openurl (URL,datatype)
:) i think it should help this time notice how i didnt get mixed with winsock control ;)
thanks, but that only gets the returned data and not the data sent by the inet control.