Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. network programming in asp or asp.net

network programming in asp or asp.net

Scheduled Pinned Locked Moved Web Development
csharpperlhtmlasp-netsysadmin
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JKroschel
    wrote on last edited by
    #1

    I know in perl, there is a library called LWP which causes your program to act like a web browser. It will go to the address you supply and gather the html which would normally be sent to the client's browers and saves it as a string. How is this done in ASP or ASP.NET?

    S 1 Reply Last reply
    0
    • J JKroschel

      I know in perl, there is a library called LWP which causes your program to act like a web browser. It will go to the address you supply and gather the html which would normally be sent to the client's browers and saves it as a string. How is this done in ASP or ASP.NET?

      S Offline
      S Offline
      Scott Serl
      wrote on last edited by
      #2

      I don't know anything about the extent of LWP, but to retrieve a page from the internet, look at System.Net.HttpWebRequest. I have not used it, so I don't know how well it works.

      J 1 Reply Last reply
      0
      • S Scott Serl

        I don't know anything about the extent of LWP, but to retrieve a page from the internet, look at System.Net.HttpWebRequest. I have not used it, so I don't know how well it works.

        J Offline
        J Offline
        JKroschel
        wrote on last edited by
        #3

        Cool, I'll check it out!

        K 1 Reply Last reply
        0
        • J JKroschel

          Cool, I'll check it out!

          K Offline
          K Offline
          kundan_ocp
          wrote on last edited by
          #4

          use socket programming with system.net,system.net.sockets namespaces and use tcpclient,tcplistener classes u can get it at msdn

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups