all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
15
Task/Sockets/Visual-Basic-.NET/sockets.visual
Normal file
15
Task/Sockets/Visual-Basic-.NET/sockets.visual
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Imports System
|
||||
Imports System.IO
|
||||
Imports System.Net.Sockets
|
||||
|
||||
Public Class Program
|
||||
Public Shared Sub Main(ByVal args As String[])
|
||||
Dim tcp As New TcpClient("localhost", 256)
|
||||
Dim writer As New StreamWriter(tcp.GetStream())
|
||||
|
||||
writer.Write("hello socket world")
|
||||
writer.Flush()
|
||||
|
||||
tcp.Close()
|
||||
End Sub
|
||||
End Class
|
||||
Loading…
Add table
Add a link
Reference in a new issue