Results 1 to 3 of 3

Thread: Net.Sockets.TcpListener - need help

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2004
    Posts
    13

    Net.Sockets.TcpListener - need help

    Hi,

    I'm new to VB, and need help.

    Here is the code I am trying to get to work:

    VB Code:
    1. Module Module1
    2.  
    3.     Sub Main()
    4.         Dim server1 As New Net.Sockets.TcpListener(90)
    5.         server1.Start()
    6.         Console.WriteLine("server is waiting...")
    7.     End Sub
    8.  
    9. End Module

    The 'server1' on the first line gets the squiggly blue error-line under it.

    I can't see what is wrong with it.

    Plz help.
    Last edited by Tortle; Jan 10th, 2004 at 03:55 PM.

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