ip addresses and ports

This is a discussion on ip addresses and ports within the Networking/Device Communication forums, part of the General Programming Boards category; what's the difference between ip addresses and ports? why do we need the two? thanks it will help me a ...

  1. #1
    Set Apart -- jrahhali's Avatar
    Join Date
    Nov 2002
    Posts
    256

    ip addresses and ports

    what's the difference between ip addresses and ports? why do we need the two? thanks it will help me a lot

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    9
    hey its very simple.....

    sockets are the end to end connection between the two computers which are active - that is they can communicate with each other....

    the ports are where the service is running - like http service will be running on port no 8080, ftp - 20 & 21, telnet on 23.

    sockets are used to determine the pc to which u are going to communicate and the port is used to identify the service which u want or explore it.

    for network programming u need both.....

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    45

    simple!!!

    port is the door through which u access different services and IP address is your identity card for accessing
    when u get there, there is isn't any there there.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IP addresses on NT networks
    By minesweeper in forum Tech Board
    Replies: 11
    Last Post: 02-11-2003, 07:48 AM
  2. Printer Ports...
    By SavesTheDay in forum C Programming
    Replies: 1
    Last Post: 02-12-2002, 11:15 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21