basic socket question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > basic socket question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    basic socket question  
Eduard Ralph


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:11 PM

Hi,

this question might be a bit strange so please bear with me.
I'm currently doing some network theory as a course at my university,
so this question is a bit theoretical. I seem to be too blind or maybe
a child of the modern era that I don't understand the point trying to
be made.
The Prof. mentiones that there are several different ways in opening a
communication chanel between two processes. He makes a point in
differentiating between a Pipe, a Mailbox, a Port and a Socket. I'm
aware of the difference between a Pipe and a Socket from a programming
point of view (yes I also read the Socket FAQ) but I don't see the big
thing in Sockets. It's an important abstraction of Network
communication but what did it do so revolutionary different compared
to other methods? I'm trying to put this concept in perspective to
other methods and I sort of fail. Can somebody help?

Eduard Ralph





[ Post a follow-up to this message ]



    Re: basic socket question  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:11 PM

Eduard Ralph wrote:
quote:
> > The Prof. mentiones that there are several different ways in opening a > communication chanel between two processes. He makes a point in > differentiating between a Pipe, a Mailbox, a Port and a Socket. I'm > aware of the difference between a Pipe and a Socket from a programming > point of view (yes I also read the Socket FAQ) but I don't see the big > thing in Sockets. It's an important abstraction of Network > communication but what did it do so revolutionary different compared > to other methods? I'm trying to put this concept in perspective to > other methods and I sort of fail. Can somebody help?
A pipe will only work for two processes on the same machine, no network. It is also one way data flow. A socket is both networked and two-way data flow. Sockets enabled the entire client-server realm to reach across a network and to have duplex conversations between the client and the server ends.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:25 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register