, . :

- QNX - .

:

(Net) QNX . , IPC , . , :

QNX . . , "" Send(), Receive() Reply().

. , .

. , . , - . .

QNX . , QNX .

, , , , .

/

. , . (, Send(), Reply(), (VC), ..).

, , . VC , .

, .


fig: i/sendrmot.gif


Send() Reply() .


Send() Reply() , :

  1. Send() Reply(), .
  2. , , . , , , .
  3. .
  4. .
  5. .

VC, , , . , .


fig: i/recvrmot.gif


Send() Reply().


, , . :

  1. .
  2. , .
  3. , , .
  4. ( , RECEIVE- REPLY- ).

, , Send(). .

, - . . . . / - , / Ethernet , , / Ethernet / Arcnet.

. , . , .

, , , . QNX .

:

ID

ID . , ID , . Ethernet Token Ring - , . , Ethernet Token Ring 48- ID IEEE 802. Arcnet, , 8- ID.

ID : ( Arcnet), .

ID

, ID , QNX ID . QNX ID . ID , QNX.

ID . , , , ID 1 .

ID . , , ID .

ID , 1. , , Ethernet, ID 2, ID 00:00:c0:46:93:30.

ID QNX-, .

ID

ID . - , . , Ethernet .

7 , 1 2. 8 9 , 1, 2 3.

, ID .


Note: ID . . " " .


fig: i/multinet.gif


.


, , , . , 7 8, 1, 2.

. , , .

, Pentium, 10BASE-T Ethernet, 1.1 , , . Ethernet , . .

, . , 7 8 1 8 7, 2 .

, . , , . - . , .

-"", , (, ), . , , , .

QNX

QNX, IEEE 802.


Note: QNX IEEE 802 , Ethernet, Token Ring FDDI.

Arcnet .


, 17 18, - 18 19:


fig: i/relay.gif


IEEE 802 QNX .


17 18 , . 18 19. 17 19?

IEEE 802, 18 , 17 18 . , 17 19, , .

TCP/IP

QNX QNX . -QNX , QNX , TCP/IP.

, , - IP (Internet Protocol) - . , IP , IP "-" .

IP , (, (login)) (, ). World Wide Web (" "), IP, , .

TCP/IP

TCP/IP QNX Berkley BSD 4.3, TCP/IP .

API

BSD API QNX 4. API API TCP/IP Unix. Windows, Winsock API BSD API. .

, :

accept()
bind()
bindresvport()
connect()
dn_comp()
dn_expand()
endprotoent()
endservent()
gethostbyaddr()
gethostbyname()
getpeername()
getprotobyname()
getprotobynumber()
getprotoent()
getservbyname()
getservent()
getsockname()
getsockopt()
herror()
hstrerror()
htonl()
htons()
h_errlist()
h_errno()
h_nerr()
inet_addr()
inet_aton()
inet_lnaof()
inet_makeaddr()
inet_netof()
inet_network()
inet_ntoa()
ioctl()
listen()
ntohl()
ntohs()
recv()
recvfrom()
res_init()
res_mkquery()
res_query()
res_querydomain()
res_search()
res_send()
select()
send()
sendto()
setprotoent()
setservent()
setsockopt()
shutdown()
socket()

. .

TCP/IP QNX . RFC, . TCP/IP , RFC 1122. ARP, IP, ICMP, UDP TCP.

NFS

Network File System (NFS) TCP/IP, DOS Unix . NFS - - . QNX.


Note: QNX 4 NFS Socket. , "" , Socklet, , NFS.

SMB

Server Message Block (SMB), , Windows NT, Windows 95, Windows for Workgroups, LAN Manager Samba. SMBfsys QNX .

Photon microGUI

:

. , . , .

Photon microGUI , QNX POSIX .

IPC ( IPC ). QNX IPC , GUI "", , IPC.

/, X Window System, Photon , ( ), GUI .

Photon ( 45K), , . , Photon "" . Photon "" - .

GUI, Photon 3- " " .

, / , , . GUI, , .

"" Photon , . QNX IPC Photon, . Photon "" , , , , Photon "" .

Photon

" " " " . " " . ; .

, , . , Photon (), .


fig: i/regions.gif


Photon , . . / .


"" ( ). . , ().

, , , ( ), , , .

Photon. , , "" . .

, 3- . , , . :

, - . , . , ( 1), - , . .

. , . "" , .

. :
: :
, . , , . - .
, . , ; . , , .
, . ; , . , , .
, . ; . , . , - , , . , , , .

, , , :

, Photon (, , ..), ( ) . , , Photon. :

, , .

, , , " " - , .

, "" , .

, . , , .

, , , , , , . "" (tiles).

, , , , "" . , , , .


fig: i/clipping.gif


, , "".


, , . "" , , ( ) .

, . , . , . , "", "".

API Photon , , , , , . , " ", , . , .

, "" . , "" . , .

QNX IPC , , , , . , , .

, Photon, , , , , .

, . Photon QNX , Photon , , , Photon . , .

Photon. , , , "" , .

. , - , , .

, . , , .

24- RGB ( 8 , ), 16,777,216 . , 24- , , , .

- , , , . "" , , .

, Photon . (16 ) .

Photon , , *.pfr (Portable Font Resource, ), . , PFR PostScript .

(Core Latin) Photon (latin1.pfr), Unicode, Basic Latin (U+0000 - U+007F) Latin-1 Supplement (U+0080 - U+00FF), :

(Extended Latin) (latinx.pfr) Unicode Latin Extended-A (U+0100 - U+017F) Latin Extended-B (U+0180 - U+0217) :

(latin1.pfr), , :

;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
.

(latinx.pfr) :

;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
.

Photon :

Unicode

Photon . Unicode (ISO/IEC 10646), Photon , .

Unicode ASCII, 16- . escape- . , Unicode - , , - .

UTF-8

UTF-2, UTF-8 ( "8- ") Unicode 8- UNIX.

UTF-8:

:
::
mblen()
mbtowc()
mbstowcs()
wctomb()
wcstombs()

, Photon, PxTranslate, / UTF-8.

Photon - " " (PtDBContainer), .

PtDBContainer , .

Photon