Results 1 to 2 of 2

Thread: how to create a multithreaded server that listen to port 25

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    8

    how to create a multithreaded server that listen to port 25

    how to create a multithreaded server that listen to port 25 using vb.net? help!!! urgent!!!
    10s

  2. #2
    Fanatic Member kaffenils's Avatar
    Join Date
    Apr 2004
    Location
    Norway
    Posts
    946

    Re: how to create a multithreaded server that listen to port 25

    Quote Originally Posted by rachael27
    how to create a multithreaded server that listen to port 25 using vb.net? help!!! urgent!!!
    10s
    Keywords: TcpListener and Threading objects.

    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
    Attached Files Attached Files

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