aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes What is socket programming? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "What is socket programming?" Watch "What is socket programming?" New topic
Author

What is socket programming?

Mahtab Md Bakhsh jamil
Greenhorn

Joined: Dec 19, 2007
Posts: 3
Hi,
I am new to javaRanch.
i have my question as-
what is java socket programming?
how it is helping people in daily life?


" Aim ahead of you is not as great as the Power behind you "
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35438
    
    9
An introduction to Java networking can be found in the Sun Java Tutorial.


Android appsImageJ pluginsJava web charts
Bob Ruth
Ranch Hand

Joined: Jun 04, 2007
Posts: 318
Just a light description: think of a "socket" as a connector through which we can communicate with another network device. Think of a socket connection as asking to have a "cable" hooked up between two machines. The cable is not actually a real cable but is the network connection external to the computer. The socket doesn't really have to know what the connection is.... it just serves as an "end-point" at each computer through which all communication is performed. You read from a socket to get data in.... you write to a socket to send data out. The socket mechanism handles the addressing and protocol required so that, all you have to do, is read or send data from or to the socket.


------------------------
Bob
SCJP - 86% - June 11, 2009
Mahtab Md Bakhsh jamil
Greenhorn

Joined: Dec 19, 2007
Posts: 3
i have just started..
Thanks a lot ! BOB.

[ January 30, 2008: Message edited by: Mahtab Md Bakhsh jamil ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: What is socket programming?
 
Similar Threads
plz answer my question though its very basic.
protocol used by Socket!!!
do i have to supply a port number when start server?
java socket program
What is the difference between RMI and Socket programming?