Socket declaration just doesn't work
Socket Listener = new Socket(0, SocketType.Stream, ProtocolType.Tcp);
This is practially straight out of a tutorial example and I can't find anything wrong with it, but Visual Studio keeps underlining it in red signalling errors (4 or 5 of them too). By having "Socket Listener;" in the class and then having "Listener = new Socket(...);" inside the method where it's used I get rid of the red lines, but then when I declare the second socket in the same way, they just come back.
I'm not so sure about the parameters (expecially that first 0), but there are also errors showing up about the fact that I'm declaring something as type Socket (I did notice that while listing the name spaces I would be using, System.Net and System.Net.Sockets did not show up as options in the drop down menu like I thought they would've).