Change the project so that it compiles against .Net 4.0 for greater usability.

This commit is contained in:
antiduh
2014-07-07 19:24:31 +00:00
parent 525007e296
commit 6805058de5
19 changed files with 156 additions and 195 deletions

View File

@@ -36,7 +36,7 @@ namespace TestProtocol
throw new InvalidOperationException("Already running");
}
this.socket = new Socket( SocketType.Stream, ProtocolType.Tcp );
this.socket = new Socket( AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp );
this.socket.Connect( server, port );