Computer port (software)

Computer port (software)
For software socket port information, see Port number
For other uses of "port", see port (disambiguation).

In computer programming, port has a wide range of meanings.

A software port (usually just called a 'port') is a virtual/logical data connection that can be used by programs to exchange data directly, instead of going through a file or other temporary storage location. The most common of these are TCP and UDP ports(ranges: 0-65535), which are used to exchange data between computers on the Internet.

In Flow-based programming, a 'port' is a (named) point of contact between a process and a connection.

I/O or machine port mechanism

A port number is part of the addressing information used to identify the senders and receivers of messages. Port numbers are most commonly used with TCP/IP connections. Home network routers and computer software work with ports and sometimes allow you to configure port number settings. These port numbers allow different applications on the same computer to share network resources simultaneously. For Input or Output (I/O) operations, nearly all processor families use memory-mapped I/O—the same assembly instructions are used for both memory access and hardware I/O. However, Intel microprocessors use port-mapped I/O—they have a completely separate set of assembly instructions (IN, INS, OUT, and OUTS) that are used specifically for hardware I/O. These instructions figure out which hardware device to communicate with using the concept of an I/O port or machine port. These ports are numbered based on which hardware device they refer to. These hardware I/O ports are in a completely different address space from normal memory.

Intel microprocessors generally allow one octet (8-bit byte or word) to be sent or received during each instruction. The hardware device decides how to interpret data sent to it and what data to send to the processor. For example, a common use is to ask a hardware device which byte (in a data transfer) it will be sending next.

Some I/O ports are connected with "peripheral" devices outside the CPU itself, but inside the computer case. Other I/O ports are connected to "peripheral" external devices outside the computer case using some Computer port (hardware).

See also


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Computer port (hardware) — Examples of computer connector sockets on various laptops …   Wikipedia

  • 3D computer graphics software — 3D computer graphics Basics …   Wikipedia

  • Port (disambiguation) — Contents 1 Transportation 2 Computing 3 Places 4 Medicine …   Wikipedia

  • Computer network — Computer networks redirects here. For the periodical, see Computer Networks (journal). Datacom redirects here. For other uses, see Datacom (disambiguation). Internet map. The Internet is a global system of interconnected computer networks that… …   Wikipedia

  • Computer DJ — A Computer DJ is defined as a DJ who uses a computer or laptop to play digital music encoded audio files, to a public crowd. Originally due to file size storage issues this was usually using lossy codec files (eg. .mp3/.aac), however as drive… …   Wikipedia

  • computer — I (Roget s IV) n. Syn. personal computer, PC, microcomputer, minicomputer, mainframe, laptop computer, home computer, workstation, supercomputer, electronic brain, thinking machine, data processor, word processor, calculator, processor, supermini …   English dictionary for students

  • Port forwarding — Port forwarding, sometimes referred to as port mapping, [citeweb|title=Definition of: port forwarding url=http://www.pcmag.com/encyclopedia term/0,2542,t=port+forwarding i=49509,00.asp|publisher= PC Magazine |accessdate=2008 10 11] is the act of… …   Wikipedia

  • Computer Consoles Inc. — Computer Consoles Inc. or CCI was a telephony and computer company located in Rochester, New York, USA, which did business first as a private, and then ultimately a public company from 1968 to 1990. CCI provided worldwide telephone companies with …   Wikipedia

  • Port address translation — (PAT) is a feature of a network device that translates TCP or UDP communications made between hosts on a private network and hosts on a public network. It allows a single public IP address to be used by many hosts on a private network, which is… …   Wikipedia

  • Computer Online Forensic Evidence Extractor — (COFEE) is a tool kit, developed by Microsoft, to help computer forensic investigators extract evidence from a Windows computer. Installed on a USB flash drive or other external disk drive, it acts as an automated forensic tool during a live… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”