SOCKET ... ERROR please help

vish707

Member
Joined
Apr 16, 2007
Messages
12
Programming Experience
Beginner
I am writing up a server socket program in vb.net.
I have a class: server.vb inside which i declare a socket as follows:

imports system.net
imports system.net.socket

public class server
dim sck as socket
.
.

I get the following error on compilation

Type Expected

and it underlines blue the socket word.
Can anyone help please
--------------------------------
 
VB.NET:
Imports System.Net.Sockets
 
Back
Top