Advertise your Business Here
Browse
|
Placement Papers
|
Company
|
Code Snippets
|
Certifications
|
Visa Questions
Post Question
|
Post Answer
|
My Panel
|
Search
|
Articles
|
Topics
|
ERRORS
new
Refer this Site
Login
|
Sign Up
Ask Questions on ANYTHING, that arise in your Daily Life at
FORUM9.COM
Categories
>>
Software
>>
Operating Systems
>>
Linux
>>
Linux Socket Programming
Linux Commands Interview Questions
Linux Threads Interview Questions
Linux IPC Interview Questions
Linux Socket Programming Interview Questions
Linux System Calls Interview Questions
Linux General Interview Questions
Linux AllOther Interview Questions
Question
Q. what is the difference between socket & port ?
Question Submitted By
:: Sumeet4interview
I also faced this Question!!
Rank
Answer Posted By
Re: Q. what is the difference between socket & port ?
Answer
#
1
port : a particular port number on a host
socket: a host and a port
like
-> http port = 80
-> when you fire up google.com
the socket on the server side is google.com:80 this is the server side socket
on your local system where you are browsing the socket is
yourip:port above 1024
Is This Answer Correct ?
12 Yes
1 No
0
Srinivas Antarvedi
Re: Q. what is the difference between socket & port ?
Answer
#
2
Port : Port no is the s/w address on a computer on the n/w.
for instance smtp : 25 and pop : 109 and so on....
Socket : Socket is the communication path to a port.
Basically Socket = ip + port, so Socket provides the access
to the ip+port
Is This Answer Correct ?
7 Yes
0 No
0
Guest
Other Linux Socket Programming Interview Questions
Question
Asked @
Answers
Why bind system call is required in socket programming ? what is it;s Significance ?
Cavium-Networks
3
Q. what is the difference between socket & port ?
Cavium-Networks
2
What is the difference between a process task and threads and what are the things that are acquired by the child process from the parent process
5
how to get client port number in server socket programming??
5
what is the difference between fork() & exec()
Subex
9
For more Linux Socket Programming Interview Questions
Click Here
Copyright Policy
|
Terms of Service
| Help |
Site Map 1
|
Articles
|
Site Map
|
Site Map
|
Contact Us
|
Copyright © 2012 ALLInterview.com. All Rights Reserved.
ALLInterview.com
::
Forum9.com
::
KalAajKal.com