
This property returns or sets the remote port number.

The value returned is a string and can be specified either as an IP address or as a DNS name. This can be both read from and written to and is available both in design time and runtime. The RemoteHost property returns or sets the remote host. Returns or sets the protocol, either TCP or UDP, used by the Winsock control. This can be both read from and written to and is available at both design time and runtime. This property returns or sets the local port number. This property is read-only and is unavailable at design time. The LocalIP property returns the local host system IP address in the form of a string, such as 11.0.0.127. This is read-only property and is unavailable at the design time. The LocalHostName property returns the name of the local host system. This is a read-only property and is unavailable at design time. This property returns the number of bytes currently in the receive buffer. Table below lists a number of popular and publicly accepted port numbers and their corresponding applications. These standard port numbers have no inherent value other than that users have agreed to use them with certain applications. To make the job of communication easier, some port numbers have been standardized. Applications use a port number as an identifier to other computers, both the sending and receiving computers use this port to exchange data. A port is a special memory location that exists when two computers are in communication via TCP/IP. I think it would be better to talk about the ports before we proceed any further. In real life situations, database might be located on a machine different from the one that hosts the client application. You will a database with this article, the database contains the item numbers and their prices. Client will send a request to the server and the server which will be connected to a database will retrieve the information requested by the client from the database and will return the requested information back to the client. Both client and server will interact with each other to exchange data.

Contoh program kasir dengan visual basic how to#
In this article, I am going to show how to use the winsock in a client server environment, we will create two separate applications, one of which will be a server and the other will be a client.
