islamnanax.blogg.se

Tutorial membuat program kasir dengan vb
Tutorial membuat program kasir dengan vb







The Close method terminates a TCP connection from either the client or server applications. Method to be used, the control must be in the listening state. Some of the important methods of Winsock control are as following:Īccepts the request for connection from the client system. This is read-only property and is unavailable at design time. Returns the state of the control as expressed by an enumerated list. This property returns or sets the remote port number. The value returned is a string and can be specified either as Read from and written to and is available both in design time and 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įrom and written to and is available at both design time and runtime. Property returns or sets the local port number. LocalIP property returns the local host system IP address in the form Is read-only property and is unavailable at the design time. LocalHostName property returns the name of the local host system. This is a read-only property and is unavailable at design time. Property returns the number of bytes currently in the receive buffer. Number of popular and publicly accepted port numbers and their Have agreed to use them with certain applications. These standard port numbers have no inherent value other than that users Job of communication easier, some port numbers have been standardized. Receiving computers use this port to exchange data. Number as an identifier to other computers, both the sending and A port is a special memory location that exists when twoĬomputers are in communication via TCP/IP. It would be better to talk about the ports before we proceed anyįurther. In real life situations, database might be located on a machineĭifferent from the one that hosts the client application. This article, the database contains the item numbers and their prices. The requested information back to the client. Information requested by the client from the database and will return Server which will be connected to a database will retrieve the Client will send a request to the server and the Both client and server will interact with each

#Tutorial membuat program kasir dengan vb how to

Show how to use the winsock in a client server environment, we willĬreate two separate applications, one of which will be a server and the







Tutorial membuat program kasir dengan vb