, . :
- QNX - .
:
(Net) QNX . , IPC , . , :
QNX . . , "" Send(), Receive() Reply().
. , .
. , . , - . .
QNX . , QNX .
, , , , .
. , . (, Send(), Reply(), (VC), ..).
, , . VC , .
, .
Send() Reply() .
Send() Reply() , :
VC, , , . , .
Send() Reply().
, , . :
, , Send(). .
, - . . . . / - , / Ethernet , , / Ethernet / Arcnet.
. , . , .
, , , . QNX .
:
ID . , ID , . Ethernet Token Ring - , . , Ethernet Token Ring 48- ID IEEE 802. Arcnet, , 8- ID.
ID : ( Arcnet), .
, 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 . - , . , Ethernet .
7 , 1 2. 8 9 , 1, 2 3.
, ID .
ID . . " " . |
.
, , , . , 7 8, 1, 2.
. , , .
, Pentium, 10BASE-T Ethernet, 1.1 , , . Ethernet , . .
, . , 7 8 1 8 7, 2 .
, . , , . - . , .
-"", , (, ), . , , , .
QNX, IEEE 802.
QNX
IEEE 802 , Ethernet, Token
Ring FDDI. Arcnet . |
, 17 18, - 18 19:
IEEE 802 QNX .
17 18 , . 18 19. 17 19?
IEEE 802, 18 , 17 18 . , 17 19, , .
QNX QNX . -QNX , QNX , TCP/IP.
, , - IP (Internet Protocol) - . , IP , IP "-" .
IP , (, (login)) (, ). World Wide Web (" "), IP, , .
TCP/IP QNX Berkley BSD 4.3, TCP/IP .
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.
Network File System (NFS) TCP/IP, DOS Unix . NFS - - . QNX.
QNX 4 NFS Socket. , "" , Socklet, , NFS. |
Server Message Block (SMB), , Windows NT, Windows 95, Windows for Workgroups, LAN Manager Samba. SMBfsys QNX .
:
. , . , .
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 , . . / .
"" ( ). . , ().
, , , ( ), , , .
Photon. , , "" . .
, 3- . , , . :
, - . , . , ( 1), - , . .
. , . "" , .
. :
: | : |
---|---|
, . | , , . - . |
, . | , ; . , , . |
, . | ; , . , , . |
, . | ; . , . , - , , . , , , . |
, , , :
, Photon (, , ..), ( ) . , , Photon. :
, , .
, , , " " - , .
, "" , .
, . , , .
, , , , , , . "" (tiles).
, , , , "" . , , , .
, , "".
, , . "" , , ( ) .
, . , . , . , "", "".
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 :
Photon . Unicode (ISO/IEC 10646), Photon , .
Unicode ASCII, 16- . escape- . , Unicode - , , - .
UTF-2, UTF-8 ( "8- ") Unicode 8- UNIX.
UTF-8:
isInitialByte = ((byte & 0xC0) != 0x80);
:
: | : |
---|---|
mblen() | |
mbtowc() | |
mbstowcs() | |
wctomb() | |
wcstombs() |
, Photon, PxTranslate, / UTF-8.
Photon - " " (PtDBContainer), .
PtDBContainer , .
Photon