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. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |