Shawnmb said:
Would it be hard to write an application which could send a basic html
page to, let's say a browser, that connects to the application on a
specified port? I've never even pondered doing this before, any
suggestions on how to best achieve this? Good tutorial suggestions
maybe? ^_^
Essentially you are talking about an HTTP server, or webserver if you
prefer. There's nothing stopping you writing such a thing in .NET,
although the easiest approach would probably be to write the app using
ASP.NET on IIS, then configure IIS to present your app on the
particular port you want.
If you want to avoid depending on IIS, you would need to do your own
Socket work to listen for incoming connections and maintain any session
state necessary.
Some resources you might find helpful:
These threads from the C# group:
<
http://tinyurl.com/nrnet>
<
http://tinyurl.com/zrm5c>
"First .NET Web Server" at <
http://www.sampullara.com/>
The Cassini sample web server at
<
http://forums.asp.net/67/ShowForum.aspx>
Bear in mind that getting something like this *working* would probably
be quite fun; getting it working *right* and *well* might be a little
more work
