Results 1 to 7 of 7

Thread: something similar to a packet recorder?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    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:
    1. 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

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

  3. #3
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: something similar to a packet recorder?

    VB Code:
    1. inet1.senddata string

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: something similar to a packet recorder?

    Quote Originally Posted by Hell-Lord
    VB Code:
    1. inet1.senddata string
    I think you're confusing inet with Winsock?

    Either way, he's asking about how to get data that was sent, not how to send data.

  5. #5
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    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

  6. #6
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: something similar to a packet recorder?

    VB Code:
    1. inet1.openurl (URL,datatype)

    i think it should help this time notice how i didnt get mixed with winsock control

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    Re: something similar to a packet recorder?

    Quote Originally Posted by Hell-Lord
    VB Code:
    1. 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width