Results 1 to 2 of 2

Thread: Winsock Proxy

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    20

    Winsock Proxy

    Yo, i play this runescape game (java made) and would like to know all the messages between the client and server.
    Dunno much about this, but I put a winsock contrl on my form named wsk

    wsk.RemoteHost=192.168.1.106
    wsk.RemotePort=888
    wsk.Close
    wsk.Listen

    then when i hit the "Go" in my internet explorer (i chose to use a proxy with the remotehost and port) i get the connection request, I accept it and then get this data

    GET http://www.runescape.com/ HTTP/1.0
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
    Accept-Language: es
    Cookie: RSORIGIN=windowsclient; serverlist_order=WPML
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; DigExt)
    Host: www.runescape.com
    Proxy-Connection: Keep-Alive

    that's what i get when i try to go to "www.runescape.com" in my IE... but then the IE doesn't show the site. So i guess that the IE is sending that data to me and i should send it to runescape.com, recive from runescape.com and send that to the IE? If so, how do I do that??

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

    Re: Winsock Proxy

    Quote Originally Posted by lainmaster
    So i guess that the IE is sending that data to me and i should send it to runescape.com, recive from runescape.com and send that to the IE? If so, how do I do that??
    Yup.

    It would take awhile to explain, but it's really not that complicated.

    I think your best option would be to look at other examples already made.

    Here's one:
    http://www.pscode.com/vb/scripts/Sho...22649&lngWId=1

    And here's some other results:
    http://www.pscode.com/vb/scripts/Bro...1=Quick+Search

    And if you run into any problems you can ask your questions here.

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