Skip to main content
GameDev.net gamedev.net
🔒 Locked

[web] Replicating php behaviour

Started by Alessandro Nov 27, 2007 at 3:26 PM 3 replies 1.2k views
Original Post
Alessandro
Alessandro
One of the features of php is the possibity to open an url page in asynchronous mode and store the returning value (an xml file string for example) into a variable, so that it can be parsed and used in the following page code. Can this be done with asp.net ?
deadimp
deadimp
I wouldn't doubt it. Doesn't this have something to do with sockets? I don't really know, since I haven't dealt with this on a low level in PHP.
Search for "asp.net file socket".
First result: http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic61986.aspx

EDIT: Heh, read down on the first suggestion.
Search for "c# asynchronous socket" also.
Projects:> Thacmus - CMS (PHP 5, MySQL)Paused:> dgi> MegaMan X Crossfire
Wan
Wan
Yes, you definitely can, but I forgot what it was. Something with WebRequest or HttpWebRequest or something?
markr
markr
However ill-advised screen-scraping is, it can definitely be achieved using .NET.

The normal sources of documentation will be perfectly adequate to explain how to do it.

Mark

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.