on-internet
← Community

TCP Server in VB.NET

Stack Overflow ·

I am not a software programmer but I have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data streams). I have searched on the internet and I found that I can use two methods: Socket or TCPListener class. I have created an example for the Socket class, but I was wondering how I can test it? If another computer in the network sends some string data to the listener computer, then the message should be displayed. Here is the example from Microsoft that I am using for the TCP server using a Socket: Public Shared Sub Main() ' Data buffer for i

Comments

Sign in or sign up to comment and upvote.

No comments yet.