how to create a multithreaded server that listen to port 25 using vb.net? help!!! urgent!!!
10s
Printable View
how to create a multithreaded server that listen to port 25 using vb.net? help!!! urgent!!!
10s
Keywords: TcpListener and Threading objects.Quote:
Originally Posted by rachael27
I've attached a quick sample (web server) that I created some time ago. It responds to HTTP request on port 8080. It's just a demo so I haven't added exception handling or correct HTTP protocol handling, but it works for demo purposes. I have added vbforums.com start page as a test web site for the example. It's in the bin folder.
You can use to see the basic principles of Threading and TcpListner.
Use the code anyway you want, but don't hold me responsible for any bugs ;)