![]() Each set of rules has been defined based upon the kind of message it sends across a network. A set of rules that is followed by your system for network communication. Protocol is exactly what it means what you think it means. You see that reddened bit against IPv4 Address, that’s your IP address right there. Just go to your command prompt (cmd) and type ipconfig Well, what if I tell you your system’s got an IP Address too. IP address is also known as logical address and can be changed. So we have four octets that range between 0 to 255. Each computer is allotted an IP Address which goes something like this:Įach number before the ‘.’ and after is an octet. It is like a phone number but for computers. I wouldn’t go really deep into computer networking because it’s a really vast topic and we don’t need much to understand socket programming in Java. I will throw in a couple of terms just to break the ice, so you know what you are dealing with here. That’s where socket programming in Java jumps in. Could be a minor interaction with a client system, or simply something you wish to send across to receive that “hello from the other side”. There are thousands of times when you are required to send something over a network. A very good example of networking could be something as basic as a messenger, where you spend all day sending data from one device to the other. ![]() When you connect two things together in such a way you can pass around data to and fro, they are said to have established a network. You see networking is nothing but a connection. In order to understand socket programming in java and how to send text files between server and client, you need to first comprehend the basics of networking. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |