ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The Defense Advance Research Projects Agency (DARPA) originally developed Transmission Control Protocol/Internet Protocol (TCP/IP) to interconnect various defense department computer networks. The Internet, an international Wide Area Network, uses TCP/IP to connect government and educational institutions across the world. TCP/IP is also in widespread use on commercial and private networks.
How do you know you want to learn it if you don't know what it is?
In short, it is network programming. And virtually any language worth using has some form of binding to allow you to write TCP/IP programs.
Generally you write TCP/IP programs using some form of "Socket" API. Do a google search and you will turn up a lot. If you have any other more specific questions, most people here will be able to help.
does the fact that " a computer is standalone & connected to internet"
and "a client side computer connected to the server that is providing the internet connection" pose any restriction on the type of programs that can be run or languages that can be used on these two kinds of computers??
Originally posted by gajaykrishnan does the fact that " a computer is standalone & connected to internet"
and "a client side computer connected to the server that is providing the internet connection" pose any restriction on the type of programs that can be run or languages that can be used on these two kinds of computers??
to make the things clearer..
can u give me some eg. of what all can be done using tcp/ip programming??
perhaps this will help me make the above question clearer..
Whatever web browser you are using was done using TCP/IP programming. More specifically, it was written to make requests and recieve responses as defined in the HTTP protocol.
Originally posted by gajaykrishnan can u give me some eg. of what all can be done using tcp/ip programming??
perhaps this will help me make the above question clearer..
You need TCP/IP programming (in other words a "sockets API"), when you make any program that talks over a network by means of the TCP/IP protocol (by far the most commonly used protocol for networks, including the internet).
So, to mention a few, you need TCP/IP (sockets) programming when you want to make your own:
Originally posted by gajaykrishnan i want to learn tcp/ip programming..
can u please explain me what is it used for..
which language is used to program it.
If the program is on the same computer, or on the same network segment, you could spy on someone browsing the internet. Programs to do this already exist (of course).
Though one could think of honest reasons to do this, it does not sound very nice of you though!
Originally posted by gajaykrishnan can i monitor what sites a user is accessing using a program that is running as a background process when a user is surfing internet
YES. And you can then use that information to bombard the user with targeted ads and spam.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.