Skip to content

Commit 862182f

Browse files
authored
fix typo (#4069)
1 parent 62355a7 commit 862182f

File tree

6 files changed

+6
-6
lines changed
  • samples/snippets
    • cpp/VS_Snippets_Remoting
    • csharp/VS_Snippets_Remoting
    • visualbasic/VS_Snippets_Remoting

6 files changed

+6
-6
lines changed

samples/snippets/cpp/VS_Snippets_Remoting/Classic TcpListenerExample/CPP/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int main()
4141
Console::Write( "Waiting for a connection... " );
4242

4343
// Perform a blocking call to accept requests.
44-
// You could also user server.AcceptSocket() here.
44+
// You could also use server.AcceptSocket() here.
4545
TcpClient^ client = server->AcceptTcpClient();
4646
Console::WriteLine( "Connected!" );
4747
data = nullptr;

samples/snippets/cpp/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/CPP/tcpserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void main()
4848
Console::Write( "Waiting for a connection... " );
4949

5050
// Perform a blocking call to accept requests.
51-
// You could also user server.AcceptSocket() here.
51+
// You could also use server.AcceptSocket() here.
5252
TcpClient^ client = server->AcceptTcpClient();
5353
Console::WriteLine( "Connected!" );
5454
data = nullptr;

samples/snippets/csharp/VS_Snippets_Remoting/Classic TcpListenerExample/CS/source.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static void Main(string[] args)
4141
Console.Write("Waiting for a connection... ");
4242

4343
// Perform a blocking call to accept requests.
44-
// You could also user server.AcceptSocket() here.
44+
// You could also use server.AcceptSocket() here.
4545
TcpClient client = server.AcceptTcpClient();
4646
Console.WriteLine("Connected!");
4747

samples/snippets/csharp/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/CS/tcpserver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void Main()
4747
Console.Write("Waiting for a connection... ");
4848

4949
// Perform a blocking call to accept requests.
50-
// You could also user server.AcceptSocket() here.
50+
// You could also use server.AcceptSocket() here.
5151
TcpClient client = server.AcceptTcpClient();
5252
Console.WriteLine("Connected!");
5353

samples/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListenerExample/VB/source.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Class MyTcpListener
3939
Console.Write("Waiting for a connection... ")
4040

4141
' Perform a blocking call to accept requests.
42-
' You could also user server.AcceptSocket() here.
42+
' You could also use server.AcceptSocket() here.
4343
Dim client As TcpClient = server.AcceptTcpClient()
4444
Console.WriteLine("Connected!")
4545

samples/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/VB/tcpserver.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Class MyTcpListener
2929
Console.Write("Waiting for a connection... ")
3030

3131
' Perform a blocking call to accept requests.
32-
' You could also user server.AcceptSocket() here.
32+
' You could also use server.AcceptSocket() here.
3333
Dim client As TcpClient = server.AcceptTcpClient()
3434
Console.WriteLine("Connected!")
3535

0 commit comments

Comments
 (0)