|
Home > Archive > CCNA > August 2000 > What is a socket?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi, that may sound stupid from someone preparing to the ccna but i found 2 different definitions:
1) Wendell book: a socket is the address + port
2) another: a socket is the address+port+the application
Thx | |
|
| On page 219-220, Wendell has explained socket as (<ip-address>,<TCP Protocol>,<Port> ).
Hash | |
|
| If you really want to understand ports/sockets etc then I thoroughly recommend getting a packet sniffer program. There are loads of demonstration one available. I have learnt tcpip not just be reading rfc's and reading manuals but by looking at sniffer traces. It is very useful to look at different types of traces eg telnet to see the negotiation and information that is transferred. I am sure this will enable you to not only understand what is going on but also help you in the future when you troubleshoot for real.
| |
|
| Andy where can i get a packet sniffer? "still doing mah roadwork and train n for my big event!" | |
|
| A socket is "The combination of the sending and destination port numbers and the sending and destination IP addresses"
Exam Cram 640-507 page 164
When an application on one device wants to communicate with an application on another device it must establish a socket connection to do so.
A socket connection can use either TCP or UDP on the transport layer with its corresponding application layer protocol. For example: FTP, Telnet, and SMTP use TCP on the transport layer to establishing a socket connection because they are connection oriented. DNS, TFTP, and SNMP use UDP on the transport layer because they are connectionless.
Sometimes windows will give the error "unable to create a network socket connection". That means that for some reason(faulty winsock, incorrect TCP/IP settings) your computer cannot communicate because it can't establish a socket connection.
Lammle uses etherpeek to view packet information. You can download an evaluation copy that is somewhat limited, but still very educational. Goto: http://www.aggroup.com/demos and fill out the form. You can then download the demo and use it for 30 days. You must supply a valid e-mail address because you need the key that they will mail you to unlock it.
Hope this helps
Good Luck!!
Certmadman | |
|
| Socket is a unique combination of
[ip address]+[tcp/udp]+[port number]
Joy V.Ramachandran
BSc,BE,MCSE,MCDBA,MCT,CCNA 2.0
Thomsun Computer Intl.
[This message has been edited by joy_rama (edited 08-20-2000).] | |
|
|
|
|
|