Mega Dose
 
 

Recently Viewed clear list


Original Essays | September 15, 2014

Lois Leveen: IMG Forsooth Me Not: Shakespeare, Juliet, Her Nurse, and a Novel



There's this writer, William Shakespeare. Perhaps you've heard of him. He wrote this play, Romeo and Juliet. Maybe you've heard of it as well. It's... Continue »

spacer

Power Programming with RPC (Nutshell Handbooks)

by

Power Programming with RPC (Nutshell Handbooks) Cover

ISBN13: 9780937175774
ISBN10: 0937175773
Condition:
All Product Details

 

 

Excerpt

 Index [ A ], [ B ], [ C ], [ D ], [ E ], [ F ], [ G ], [ H ], [ I ], [ K ], [ L ], [ M ], [ N ], [ O ], [ P ], [ Q ], [ R ], [ S ], [ T ], [ U ], [ V ], [ W ], [ X ], [ Y ], 

#LINK<A[ Top ]>#
A 439
accept( ) 123
access control policy 187, 327
access utilities, (see setrpcent( ) & getrpcent( ))
address resolution protocol (ARP) 99
alarm( ) 130, 134
Andrew File System 37
anonymous FTP xxix
ARP, (see address resolution protocol)
asynchronous processing 188, 239
      defined 435
auth_destroy( ) 317, 366
authdes_create( ) 318, 365
authdes_getucred( ) 365
authentication 315-331
      AUTH structure 316
      authunix_params structure 318
      authunix_parms structure 318
      errors 319
      flavors 317
      high-level RPC 46
      opaque_auth structure 316
authnone_create( ) 317, 366
authunix_create( ) 366
authunix_create_default( ) 318, 366
awk 208

#LINK<B[ Top ]>#
batch RPC 231
bcmp( ) 115
bcopy( ) 115
BER, (see data representation)
BFS, (see Brute-force Scheduling)
binding 119, 355
      bind( ) 119, 122
      defined 15, 435
      Internet domain 127, 131
      UNIX domain 122
bindresvport( ) 121
blocking 222, 435
      read/write 135
bool_t, status return 343
broadcast RPC
      as an antisocial act 233
      authentication 233
      transport and packet size limit 233
broker or binder service 15, 435
Brute-force Scheduling (BFS) 144
      lightweight alternative 255
BSD 4.3 105
bulk data transfers 36
bundle, shell script 88
byte order 22, 114
      macros in <netinet/in.h> 115
      network order 114
      support routines 115
byte-oriented memory access functions 115
bzero( ) 115, 128, 131, 133

#LINK<C[ Top ]>#
CAD Framework Initiative (CFI) 28
callrpc( ) 46, 238, 359, 366
calls, UNIX utility 189
child process
      reaping 146
      return status 147
      timing 148
CLIENT
      handle 54, 74, 342, 359
      structure 316
client 1, 2
      application, defined 435
      asynchronous 239
      defined 15
      in X 1, 268
      multiple clients and servers 221
      one-way RPC 229
      process, defined 435
      starting servers 209
      state 231
            retaining 333, 336
      stub 57, 436
client/server partitioning strategy 187
clnt_broadcast( ) 233, 367
clnt_call( ) 54, 75, 367
clnt_control( ) 75, 93, 224, 367
clnt_create( ) 54, 74, 310, 359, 368
clnt_create_vers( ) 369
clnt_destroy( ) 75, 317, 369
clnt_dg_create( ) 311
clnt_freeres( ) 196, 369
clnt_geterr( ) 320, 369
clnt_pcreateerror( ) 82, 369
clnt_perrno( ) 320, 370
clnt_perror( ) 82, 320, 370
clnt_spcreateerror( ) 370
clnt_sperrno( ) 320, 370
clnt_sperror( ) 320, 371
clnt_stat status values 324, 381
clnt_tli_create( ) 311
clnt_tp_create( ) 310
clnt_vc_create( ) 311
clntraw_create( ) 89, 370
clnttcp_create( ) 371
clntudp_bufcreate( ) 371
clntudp_create( ) 243, 371
close( ) 120, 125
      for pipes 113
      for sockets 129
collection server or daemon 238, (see also follow-up RPC)
compression 175
      compress 219
      oldcompact 219
      run-length encoding 219
concurrent processing 432
Concurrent Programming Support (CPS) 26
concurrent server 103, (see also server)
connect( ) 120, 123, 125, 129
connection
      error 123
      error detection 333
      Internet 101
connectionless versus connection-oriented
      programming 119
      transport 99
convolution
      in image processing 155
      kernel 155, 157
coupling 431
crash recovery 333, 337
credential
      building 317
      cooked 329
      defined 315
      destroying 317
      lifetime or window 319
      raw 196
cut 95

#LINK<D[ Top ]>#
daemon 15, 436
DARPA 436
Data Encryption Standard (DES) 28, 316, 364
      crypt( ) 364
      des 364
      keyserv daemon 318
      publickey database 318, 364
data representation
      Basic Encoding Rules (BER) 24
      multi-canonical 22
      receiver-makes-it-right 22
      single-canonical 22
dataflow 433
datagram 24
      defined 99
      detection of loss 132
      IP 101
dbm 112, 132
dbx 84, 85, 89, 91, 173
      and Raw transport 91
      client/server breakpoints 93
      over the network 92
      up command 94
dbxtool 84
deadlock 239
debugging 84
      breakpoints for client/server 93
      client linked to server 85
      dbx 84
      dbxtool 84
      in one address space 86, 89
      over the network 92
      Raw transport 89, 91
            editing the client application 90
            editing the client stub 91
            editing the server stub 89
            linking 91
      via cpp directives 86
DECORUM DCE 17
deploying servers 95
DES, (see Data Encryption Standard)
diff, UNIX utility 430
discriminated union 4
dispatch function 42, 43
      defined 436
      name 93
dispatch table, generated by RPCGEN 62
distributed applications
      defined 436
      design questions 187
distributed computing environment
      components of 18
      defined xxiv, 15, 436
      standards 17
Distributed Computing Environment (DCE) xxiv
distributed file systems 219
distributed filename normalization 219
divide and conquer, strategy for parallelization 140, 155
domain
      Internet 98
      UNIX 122
dup( ) 132, (see also socket descriptor, duplication)

#LINK<E[ Top ]>#
encapsulation 99
endrpcent( ) 118
errno 80, 132, 135, 149, 331
      during select 236
error codes 381
error reporting 319, 331, 332
Ethernet 155
      address 99
      bandwidth 218
Even 99
examples
      ~/.ls, directs ls servers using sstart.sh 208
      asyncCallback.c, XView interval timer looks for asynchronous FRPC requests 276
      asyncRls.h, header file included by the asynchronous clients and servers 239
      asyncRls_svc.c server, responds asynchronously using FRPCs 243
      auth.h, macros included in server dispatch routine 330
      bdata.i, input file for rtrace 402
      bundle, shell archive script 88
      childTimer.c, use of interval timer and signals 148
      day.c, using time of day to watch child processing 150
      die_1( ), server termination through a RPC 212
      dim.c, adding authentication to the client 322
      dim.x, RPCL protocol definition for dim 191
      dim_svc_proc.c, access control added to server delete procedure 331
      dispatch.c, dispatcher registration for X-based RPC server 282
      doit_1( ), a service procedure makes an FRPC 237
      hello.c, a simple Xt/Xol example 283
      HighLevelServer.c, server multi-tasking through process creation, DOES NOT WORK! 249
      im_proc.c, archive access functions for local image manager 182
      itimer.c, using an interval timer in XView 274
      Loop_sockets_AF_INET_server.c, sockets_AF_INET_server.c modified for repeated use 289
      makefile
            automating authentication changes 329
            for the rtrace network ray tracer 424
            for two forms of local debugging 87
            for Xt and XView applications 273
            template for RPCGEN RPC development 153
      manual page for rtrace 401
      multiRls_svc.c, multi-tasking service that works 250
      notifyServer.c, using notify_enable_rpc_svc( ) in the XView notifier 281
      one-way.c, client places one-way RPC requests 229
      one-way.x, combined one-way and synchronous RPC protocol for remote directory listing 226
      one-way_svc_proc.c, server procedures including a one-way, request-only RPC service 227
      patchFile, making RPCSRC 4.0 rpcinfo.c do other things 428
      raster.c, Sun rasterfile format utilities 301
      raster.h, Sun rasterfile format support 303
      read_dir.c, directory listing procedure 41
      remote.c, using rexec for remote execution 137
      repairDB( ) now restores the database 338
      restart_1( ), restarting the server with a RPC 213
      rip_shared.h, include file for client and server 160
      rip_svc_proc.c, server procedures for RIP 170
      rls.c
            remote directory listing client 81
            RPC client for reading remote directory files 51
      rls.h, common include definitions for the RPC directory lister 44
      rls.h, header file generated by RPCGEN 78
      rls.x,remote directory listing protocol) 77
      rls_svc.c, server stub using Raw transport for local debugging 90
      rls_svc_proc.c, remote read directory service 79
      rteleLWP.c, lightweight processing for asynchronous remote calls from a client 259
      rteleLWP_svc_proc.c, lightweight processing for asynchronous remote calls from a client 264
      rtrace.c, client side of the network ray tracer 405
      rtrace.x, protocol definition for rtrace 402
      rtrace_shared.h, shared definitions for client/server procedures 404
      rtrace_svc_proc.c, server procedures for rtrace 416
      sample input script for rip 156
      skeleton for server self-termination after lack of use 211
      skeleton for setting server process priority 213
      skeleton for starting servers from the client 209
      sstart, C shell script to start remote servers 205
      sstart.sh, Bourne shell script to start remote server process (better) 206
      stest.c, catching SIGCHLD using fork( ), kill( ) and signal( ) 145
      TCP_AF_INETclient.c, connection-oriented client using Internet addressing 128
      TCP_AF_INETserver.c, connection-oriented server using Internet addressing 126
      TCP_AF_UNIXserver.c, connection-oriented server using domain addressing 122
      tcpDispatchServer, TCP transport is more complex 293
      tcpRls.c, synchronous client using TCP transport 295
      UDP_AF_INETclient.c, connectionless client using Internet domain addressing 132
      UDP_AF_INETserver.c, connectionless server using Internet domain addressing 131
      udpDispatchServer.c, UDP transport RPC server activated by the Xt event dispatcher 291
      wload.c, loads an image into a SunView window 300
      wtest.c, wait( ) watches for child deaths 146
      Xt_sockets_AF_INET_client.c, Xt socket-based client 285
      xwload.c, X client loads an image into a window 297
exec, C shell built-in command 52, 204
execl( ) 106, 213
exit( ) 148, 262
      for sockets 123, 129
External Data Representation (XDR) 10, 20, 23
      see also XDR

#LINK<F[ Top ]>#
fault tolerance in applications 188
fclose( ), for named-pipes 113
fcntl( ) 121, 135
fdopen( ), for pipes 113
FIFO 113, 263
filename conventions 59
filenames, host qualified 219
follow-up RPC (FRPC) 237
      collection daemon 238, 276
      polling for requests 239
fopen( ), for named-pipes 113
fork 436
      resource consumption 252
fork( ) 103, 141, 144
frame buffer 175
      SunView vs. X performance 296
fstab 210
ftp 101, 108

#LINK<G[ Top ]>#
gateway
      defined 98
      IP 101
get_myaddress( ) 372
gethostbyaddr( ) 116, 233
gethostbyname( ) 116, 128, 133
gethostent( ) 116
gethostname( ) 116
getitimer( ) 148
getmntent( ) 219
getnetname( ) 319, 372
getpeername( ) 231
getpid( ) 145
getprotoent( ) 116
getpwuid( ) 179
getrpcbyname( ) 117
getrpcbynumber( ) 117
getrpcent( ) 117
getrpcport( ) 372
getservbyname( ) 116, 131, 133
getservbyport( ) 116
getservent( ) 116
getsockname( ) 120
getsockopt( ) 120, 136
global variables 187
gtty( ) 259

#LINK<H[ Top ]>#
heavyweight processing 144
heterogeneous clients and servers 436
high-level ONC RPC library functions xxiv
homogeneous clients and servers 436
host, defined 436
host2netname( ) 319, 372
hostent structure 116, 128, 133
hosts file
      /etc/hosts, hostname to Internet address mapping 98, 116
HP license broker 20
htonl( ) 115
htons( ) 115, 127

#LINK<I[ Top ]>#
idempotent procedure 31, 103
      defined 31, 436
      porting concerns 188
      TCP 334
inet( ) 242
inet_ntoa( ) 234
inetd
      adding services 104
      how it works 106
      re-init with SIGHUP 112
      rexecd 137
      RPCGEN support 26, 61, 104
      server timeout 212
      the Internet superserver 28, 32, 103, 105, 355, 437
inetc.conf file
      /etc/inetd.conf, inetd configuration file 107
init 105
Internet
      address, defined 98
      addresses to Ethernet address mapping 99
      addressing example 126, 131
      archive sites xxix
      catenet model 98
      defined 437
      domain 98
      protocols 15, 24, 99, 437
      standards, obtaining RFCs 383
interprocess communication (IPC)
      application program interfaces (APIs) 112
      defined 437
      FIFOs 113
      file descriptors 113
      kernel sharing 113
      message queue 113
      model for communication 112
      named-pipes 113
      overview of methods 433
      pipes 113
      semaphores 114
      shared memory 114
interprocess control 433
interval timer 148
into, shell alias 230
ioctl( ) 135
iovcnt buffers 136
IP 12, 16, 437
ISO 437
ISO/OSI
      defined 16, 24
      proposed guidelines 29
      TP4 25
      X.25 99
      X.409 ASN.1 Basic Encoding Rules (BER) 24, 27, 30, 341
      X.500 directory- naming protocol 28
iterative server 103, (see also server)
itimerval structure 148

#LINK<K[ Top ]>#
Kerberos authentication 28, 34, 37
key_decryptsession( ) 373
key_encryptsession( ) 373
key_gendes( ) 373
key_setsecret( ) 373
kill 204
kill( ) 95

#LINK<L[ Top ]>#
libnbio.a 259
license broker 20
lightweight processing 144
      asynchronous RPC 259, 264
      DEC CMA 26
      defined 254
      HP/Apollo 26
      OSF/1 Mach kernel threads 26
      POSIX pthreads 26
      protocol compiler support for 31
      Sun LWP 26
            library 254
            lwp_create( ) 255
            lwp_datastk( ) 256
            lwp_newstk( ) 256
            lwp_resched( ) 257
            lwp_setpri( ) 256
            lwp_setstkcache( ) 256
            lwp_sleep( ) 257
            lwp_yield( ) 256
            need for re-entrant code 262
            non-blocking support 255, 259
            pod, defined 255
            pod_getmaxpri( ) 255
            pod_setmaxpri( ) 256
            scheduling queues 257
            SELF 256
            thread blocking 255
            thread scheduling priority 255
      threads of execution, (see also threads)
      within X server 26
limitations of high-level functions 53
linking
      client to server 51, 86
      ONC RPC 4.0 342
      Raw transport, debug 91
      TLI 114
      XDR 342
listen( ) 119, 122
local and remote procedure call communication 3
Location Broker 19
      defined 437
      Global 20
      Local 20
lpd 105
LWP, (see lightweight processing)
lwp_create( ) 255
lwp_datastk( ) 256
lwp_newstk( ) 256
lwp_resched( ) 257
lwp_setpri( ) 256
lwp_setstkcache( ) 256
lwp_sleep( ) 257
lwp_yield( ) 256

#LINK<M[ Top ]>#
macros, XDR in-line 346
mail, client/server protocol 102
make
      command-line symbol definition 154
      default rules 59, 145
      RPCGEN makefile template 153
memory( ), byte-oriented memory access functions 115
message
      defined 114
      passing 433
      queue 113, (see also interprocess communication)
mknod file
      /etc/mknod, creating named-pipes 113
mknode 113
moving a local application to the network 177, 186
msgctl( ) 114
msgget( ) 114
msgrcv( ) 114
msgsnd(2) 114
multi-pass, interleaving and pipes 432
multiprocessing 432
      under UNIX 141
      with RPCTool 31
multi-tasking 141, 188, 247, 250

#LINK<N[ Top ]>#
NCA, (see Network Computing Architecture)
NCS, (see Network Computing System)
Net Lib interface library 27
netid 218, 307
netname2host( ) 373
netname2user( ) 374
NETPATH, environment variable 307
~/.netrc, network user database 137, 204
netstat 109
Netware 32
Netwise RPCTool 18
Network Computing Architecture (NCA) 16, 19, 437
Network Computing Kernel (NCK) 19, 437
Network Computing System (NCS) 16, 437
      acronyms 20
      compared to ONC 22
      overview 19
Network Data Representation (NDR) 19, 23, 437
Network File System (NFS) 20, 437
      data sharing 218
      defined 16
      filenames 155
Network Information Service (NIS) 20
      adding services 104
      command-line utilities 117
      database updating 112
      defined 438
      domain 112, 117, 209
      files 112
      keys 117
      maps 117
      retrieving host, network and address info 116
      server 117
      servers started by inetd 109
Network Interface Description Language (NIDL) 19
      defined 438
Network Lock Manager (NLM) 22, 438
Network Selection (NS) 307
Network Status Monitor 22
Network Time Protocol (NTP) 28
NFS, (see Network File System)
nice( ) 213
NIS, (see Network Information Service)
non-blocking RPC 223
non-idempotent procedure 188
Novell 32, 38
ntohl( ) 115
ntohs( ) 115
NULLPROC, RPC procedure 0 69

#LINK<O[ Top ]>#
Object Management Group (OMG) 28
Object Request Broker (ORB) 29
OLIT, (see Xol toolkit)
on 22, 95
      to start servers 204
on_exit( ) 262
ONC RPC, (see RPC)
ONC, (see Open Network Computing)
one-way RPC 223
      RPC_TIMEDOUT error 229
      transport reliability 225
      unreliable transport, when to use 225
Open Network Computing (ONC) xxiv
      acronyms 21
      defined 16, 438
      future development 35
      ONC RPC compared to NCS 22
      overview 20
      Transport-independent RPC 305
Open Software Foundation (OSF) xxiv, 17
      DCE developer's kits 18
      defined 16, 438
Open Systems Interconnection (OSI) 438
      reference model 12, 99, 341
open( ) 113
OSF, (see Open Software Foundation)

#LINK<P[ Top ]>#
packet size 99, (see also datagram)
parallel processing 431-433
      partitioning strategies 140
parallelism, types of 432
passwd file
      /etc/passwd, system password database 136
patchFile 428
perror( ) 80, 82, 123
ping 105
pipe 438
pipe( ) 113
pipelining 432
pmap_getmaps( ) 356
pmap_getport( ) 356
pmap_rmtcall( ) 356
pmap_set( ) 356
pmap_unset( ) 357
pod 255
pod_getmaxpri( ) 255
pod_setmaxpri( ) 256
pointer chasing 24, 352
port 11
      defined 16, 438
      number, IP 101
      privileged (reserved) 121, 357
      TCP/IP and DARPA 355
      user (unprivileged, unreserved) 101, 127
      well-known 101, 441
portmap 218, 361
      functions
            pmap_getmaps( ) 356
            pmap_getport( ) 356
            pmap_rmtcall( ) 356
            pmap_set( ) 356
            pmap_unset( ) 357
            xdr_pmap( ) 357
            xdr_pmaplist( ) 357
      portmap( ) 355
      portmapper, ONC 11, 438
      started by inetd 109
procedure number
      nonexistent procedure error 43
      RPC registration 43
process
      binding 438
      defined 438
      granularity 432
      ID 146
processor coupling, defined 431
program number
      mismatch 74
      ranges controlled by Sun 44
      register a protocol 44
      RPC registration 43
protocol
      client and server communication 43
      defined 438
      implicit, without a compiler 53
      one-way RPC 226
      specification 57
protocol compiler xxiv
      defined xxiv, 439
      NCS NIDL xxiv, 27
      Netwise RPCTool xxiv, 27
      ONC RPCGEN 27
      Sun's RPCGEN xxiv
protocol compiler 26, (see also RPCGEN)
protocol definition language, (see RPCL)
protocols file
      /etc/protocols 116
ps 95, 105
pthreads, (see lightweight processing)

#LINK<Q[ Top ]>#
questions about distributed application design 187

#LINK<R[ Top ]>#
rasterfile 156, 297
Raw transport 89
ray tracing 385
rcp 440
read( )
      for pipes 113
      on sockets 120
readv( ) 136
reaping, of child process 146
recv( ) 120, 123, 125, 129, 134
recvfrom( ) 120, 132
recvmsg( ) 120, 132
reduction 433
re-entrant code 26
      problems with lightweight threads 262
references
      make xxxi
      NCS RPC xxxi
      ONC RPC xxxi
      parallel processing 431
      RPCGEN 77
      SunView 140
      UNIX networking 98
      X xxxi
      XView xxxi, 272
register, defined 439
registerrpc( ) 43, 44, 359, 374
registration 43
remote asynchronous call (RAC) 221
remote procedure call 439
      defined xxiii, 2
      system 16
reply 16
      caching 93, 231, 333
            as a protective measure 334
            cache sizing 334
      defined 439
      NULL for one-way RPC 232
      static variables, (see also static return variables) 264
      void for no reply 227, 354
reporting server information 214
request 16
      defined 439
      queue size (socket) 122
Request for Comment (RFC) 102, 383
request/reply communication model 2
resetting server 213
rex, RPC remote execution protocol 22, 105, 107, 211, 439
rexd, on remote execution daemon 22, 95, 107, 110
      security 204
rexec, socket remote execution interface 105, 107, 130, 136, 439
rexecd, socket rexec remote execution daemon 22, 107, 110, 136, 204
~/.rhosts, remote permission database 137, 143, 205
rlogin 440
routing 101
      defined 98
RPC
      address 43
      administrator 44
      application development steps 4
      availibility of source 37
      batch 231
      blocking (synchronous) nature 222
      clnt_stat status codes 324, 381
      compared to X 269
      compatibility of 4.0 and TIRPC 308
      defined xxiii, 440
      error codes 381
      error reporting functions 319
      fault tolerance 188
      follow-up RPC (FRPC) 237
      format of /etc/rpc 117
      lack of reentry (current ONC releases) 262
      names and numbers 118
      one-way protocol 226, 227, 229
      rpc_err status codes 324, 381
      software availability
            Courier RPC xxx
            examples in book xxx
            NCS RPC xxix
            Netwise RPCTool xxix
            ONC source, TIRPC 305
            ONC Source,RPC 4.0 xxviii
            OSF DCE xxx
      source availability
            RPCSRC 4.0 (Release 4.0) xxix
      strategies for use with X Window System 270
      system issues 187
      timeout 222, 224
      Transport-independent RPC (TIRPC) 305
      under windowing system 267
rpc file
      /etc/rpc, system RPC programs 44, 108, 117, 121
RPC functions
      authentication 359
            auth_destroy( ) 317
            authdes_create( ) 318
            authnone_create( ) 317
            authunix_create_default( ) 318
            getnetname( ) 319
            host2netname( ) 319
            user2netname( ) 319
      CLIENT handle management 359
      error reporting 331
            clnt_geterr( ) 320
            clnt_perrno( ) 320
            clnt_perror( ) 320
            clnt_sperrno( ) 320
            clnt_sperror( ) 320
            svcerr_auth( ) 326, 332
            svcerr_decode( ) 326, 332
            svcerr_noproc( ) 327, 332
            svcerr_systemerr( ) 327, 332
            svcerr_weakauth( ) 327
      high-level client
            callrpc( ) 46, 238, 359
      high-level server
            registerrpc( ) 43, 44, 359
            svc_run( ) 45, 235, 359
      limitations of high-level calls 53
      low-level client
            clnt_broadcast( ) 233
            clnt_call( ) 54, 75
            clnt_control( ) 75, 93 parameters 368 RPC timeout control 224
            clnt_create( ) 54, 359
            clnt_destroy( ) 75, 317
            clnt_freeres( ) 196
            clnt_pcreateerror( ) 82
            clnt_perror( ) 82
            clntraw_create( ) 89
            clntudp_create( ) 243
      low-level server
            svc_getargs( ) 238
            svc_getcaller( ) 231, 242
            svc_getreqset( ) 236, 239, 278
            svc_register( ) 55, 76, 250
            svc_sendreply( ) 94
            svcerr_decode( ) 243
            svcerr_noproc( ) 243
            svcerr_systemerr( ) 243
            svcraw_create( ) 89
            svctcp_create( ) 55, 76, 89
            svcudp_create( ) 76, 89, 250
            svcudp_enablecache( ) 93
      making the call from the client 359
      server registration with the portmap 359
      SVCXPRT service transport handle management 359
rpc.cmsd 110
rpc_broadcast( ) 310
rpc_call( ) 309
rpc_createer portmap global error variable 356
rpc_createerr 374
rpc_err status values 324, 381
rpc_err structure 320
rpc_reg( ) 309
rpc_stat structure 234
rpcb_getaddr( ) 311
rpcb_set( ) 311
rpcb_unset( ) 311
rpcbind
      TIRPC binding service 218, 306
rpcbind( ) 11
rpcent structure 117
RPCGEN 57-94
      as found in ONC RPC Release 4 61
      common mistakes 94
      cpp preprocessing 73, 190
      defined 440
      inetd support 104
      overview of protocol compilers 26
      preprocessor symbols 61, 73
      RPCGEN.NEW 27
      RPCL, (see RPCGEN)
      syntax of rpcgen command 61
RPCGEN.NEW 27
      client and server shells 63
      enhancements to RPCGEN 63
rpcinfo 95, 214-218
      source code modifications 427
      under TIRPC 218
RPCL 20, 63-73
      boolean type, bool_t 72
      built-in preprocessing 73
      discriminated union 66, 78, 159
      enumerations 65
      fixed-length array declarations 70
      linked-list handling 77
      multi-dimensional arrays 70
      opaque data types 72
      pointer declarations 71
      preprocessor symbols 68, 73, 190
      program definition 67, 68
      protocol definition 61
      service procedure names 69
      simple declarations 70
      string type, string 72
      structures 65
      symbolic constants 64
      typedef 67
      variable-length array declarations 70
      variable-length string 77
      void declarations 73
      void replies 226
rpcsvc file
      /usr/include/rpcsvc, system service protocol directory 27, 44, 107, 337
RPCTool 18
rsh 52, 95, 107, 143
      defined 440
      signalling 137, 155
      to start servers 52, 129, 204
rshd 107
rstat( ) protocol 337
rusers, RPC successor to rwho 106
rusersd, the service daemon for rusers 106
rwhod, the service daemon for rwho 106

#LINK<S[ Top ]>#
security 187, 204
sed 208
select( ) 106, 135, 236, 275
      polling with 239
semaphore 114, 440 (see also interprocess communication)
send( ) 120, 123, 125, 129
sendmail 105
sendmsg( ) 120
sendto( ) 120, 132, 134
servent structure 116, 131, 133
server 1, 2
      application 440
      classifications 104
      concurrent 50, 103, 127
            multiple processes 103
            single process 103
      connection-oriented 123, 126
      crash recovery 333
      defined 16, 440
      deploying during development 95
      handle, SVCXPRT 342
      in X 1, 268
      inetd registration with svc_register( ) 106
      initilization, inquiry and removal 427
      iterative 50, 103, 123, 132
      multiple clients and servers 221
      multi-tasking 247, 250
      one-way RPC 227
      portmap registration 357
      process, defined 440
      registration, avoiding conflicts 362
      resetting 213
      restarting 213
      rpcinfo 214
      server too fat system error 212
      setting process priority 213
      starting from client 209
      starting remote servers 203
      state 231
      stateful 12
      stateless 12
      stub 57, 440
      terminating via RPC 212
      transport handle, SVCXPRT 54, 76, 435
      with lack of use timer 211
server caching 93
service, defined 440
services file
      /etc/services, Internet TCP/IP service names 101, 107, 110, 121
setmntent( ) 219
setrpcent( ) 118
setsockopt( ) 120, 121, 136
shared memory 114, 433
      NFS as 142
shell archive 88
shutdown( ) 129, 136
SIGALRM signal 133, 134, 150
      under XView 280
SIGCHLD signal 144, 147
      under XView 280
SIGHUP signal 112
SIGIO signal 280
SIGKILL signal 95
signal handler 134, 144, 440
SIGTERM signal 95, 204
      under XView 280
SIGURG signal 280
SIGVTALRM signal 280
slay 95, 137
sockaddr_in structure, Internet domain socket 127, 128, 131, 133
sockaddr_un structure, UNIX-domain socket 122
socket
      blocking 135
      buffering issues 134
      client/server communication process 118
      connectionless server 120
      connection-oriented server 119, 120
      defined 16, 118, 440
      descriptor 123
            deallocation 123
            duplication 123
            manipulation and control 121, 135
            status 136
      Internet addressing 126
      retrieving host, network and address 130
      shutting down 129, 132
      system functions 119
      UNIX domain addressing 122
      UNIX system calls 120
socket( ) 119, 124, 127
socketpair( ) 120, 136
spray 109
standards, distributed computing environments 17
state machine, defined 440
stateful server 20
statfs( ) 219
static return variables 50, 79
stream communication model 113
stty( ) 259
Sun User's Group xxix
SunNet License server 22
Sun-Spots mailing list xxix
SunView 155
      Pixrect structure 175, 296
      Pixwin structure 175, 300
      window 170
svc_create( ) 310
svc_destroy( ) 374
svc_dg_create( ) 311
svc_fds 375
svc_fdset 375
svc_fdset, global RPC file descriptor set 236, 239, 255, 275, 292
svc_freeargs( ) 375
svc_getargs( ) 238, 375
svc_getcaller( ) 231, 242, 375
svc_getreq( ) 376
svc_getreqset( ) 236, 239, 278, 376
svc_reg( ) 311
svc_register( ) 55, 76, 106, 250, 377
svc_req structure 196, 326, 336
svc_run( ) 45, 359, 378
      roll-your-own 235
svc_sendreply( ) 94, 378
svc_tli_create( ) 311
svc_tp_create( ) 310
svc_unreg( ) 311
svc_unregister( ) 211, 379
svc_vc_create( ) 311
svcerr_auth( ) 326, 332, 376
svcerr_decode( ) 243, 326, 332, 376
svcerr_noproc( ) 243, 327, 332, 376
svcerr_noprog( ) 377
svcerr_progvers( ) 377
svcerr_systemerr( ) 243, 327, 332, 377
svcerr_weakauth( ) 327, 377
svcfd_create( ) 374
svcraw_create( ) 89, 377
svctcp_create( ) 55, 76, 89, 378
svcudp_bufcreate( ) 379
svcudp_create( ) 76, 89, 250, 378
svcudp_enablecache( ) 93
SVCXPRT, transport handle 54, 76
      associated socket 245
      structure 342
synchronization 433
synchronous processing 188
      defined 440
      I/O multiplexing (select( )) 136
      remote procedure call 2
syslog( ), RPCGEN support 61
systat 109

#LINK<T[ Top ]>#
task dependencies 431
TCP
      as a reliable transport 24, 102
      defined 440
      handling connection errors 336
      protocol 24
      request sockets in windowing systems 292
      within OSI model 12
thread scheduling priority 265
threads (of execution) 433
timeout
      for client 93
      inetd 104
      RPC 75, 222
            controlling 224, 368
            default 224
      SIGPIPEs and UDP 337
      UDP retry 93, 102, 368
      using alarm( ) 130
timeval structure 75, 224, 257
TIRPC, (see Transport-independent RPC)
TLI/STREAMS 306, (see also Transport Layer Interface (TLI))
transmission control protocol, (see TCP)
transport
      connectionless 99, 102
      connection-oriented 99, 102
      DDS 24
      DECnet 25
      ISO/OSI TP4 25
      libraries 99
      overhead 102, 336
      packet size 103
      Raw 89
      resource consumption 103
      selection 62, 102
      specific error and recovery strategies 333
      TCP 99
      UDP 100
Transport Layer Interface (TLI) 25, 110, 112, 114, 308
Transport-independent RPC (TIRPC) 12, 24, 305-314
      application programming interface 309
      availability 313
      clnt_create( ) 310
      clnt_dg_create( ) 311
      clnt_tli_create( ) 311
      clnt_tp_create( ) 310
      clnt_vc_create( ) 311
      Name to Address Translation (N2A) 305
      netid 307
      NETPATH environment variable 307
      Network Selection (NS) 307
      ONC RPCSRC 4.0 compatibility 308
      protocol and semantics 306
      rpc_broadcast( ) 310
      rpc_call( ) 309
      rpc_reg( ) 309
      rpcb_getaddr( ) 311
      rpcb_set( ) 311
      rpcb_unset( ) 311
      rpcinfo changes 218
      socket incompatibility 309
      svc_create( ) 310
      svc_dg_create( ) 311
      svc_reg( ) 311
      svc_tli_create( ) 311
      svc_tp_create( ) 310
      svc_unreg( ) 311
      svc_vc_create( ) 311
      transports in /etc/netconfig 307
      uniform addressing 308

#LINK<U[ Top ]>#
UDP
      as an unreliable transport 24, 102
      defined 441
      handling connection errors 337
      maximum RPC data size 74
      statelessness 103
      within OSI model 12
union, in RPCL 4
universal address 218
UNIX International (UI) 16, 441
UNIX TLI 27
unlink( ) 123
user datagram protocol, (see UDP)
user2netname( ) 319, 379

#LINK<V[ Top ]>#
vector or array processing 432
verifier, defined 315
version mismatch, avoiding 369
version number
      changes 43
      mismatch 74
      RPC registration 43

#LINK<W[ Top ]>#
wait( ) 130, 144, 208
widgets, examples 283
write( )
      for pipes 113
      on sockets 120
writev( ) 136

#LINK<X[ Top ]>#
X Window System
      callback procedures 270
      client 268
      display server 268
      distributed applications 267
      Pixmap structure 176, 296
      protocol 270
      RPC comparison 268
      socket activity watching 270
      standard 268
      TCP RPC requests 292
      Window structure 176
      XImage structure 176, 296
X/Open Transport Interface (XTI) 36
XDR
      bool_t 343
      defined 441
      filter operation codes 343
      handle 47, 342
      in-line routines 345
      library overview 341
      macros 346
      multi-dimensional array 46, 191
      programming example 345
      protocol 341
      stream management 343
      streams 47, 342, 351
      wrapper routines as generated by RPCGEN 59
XDR filters 47, 69
      complex 49
            xdr_array( ) 49, 347
            xdr_bytes( ) 49, 347, 348
            xdr_opaque( ) 49, 347, 350
            xdr_pointer( ) 49, 347, 350
            xdr_reference( ) 49, 347, 352
            xdr_string( ) 49, 347, 352
            xdr_union( ) 49, 347, 353
            xdr_vector( ) 49, 347, 354
            xdr_wrapstring( ) 49, 347, 354
      primitive 48
            xdr_bool( ) 48, 344, 348
            xdr_char( ) 48, 344, 348
            xdr_double( ) 48, 344, 348
            xdr_enum( ) 48, 344, 349
            xdr_float( ) 48, 344, 349
            xdr_int( ) 48, 344, 350
            xdr_long( ) 48, 344, 350
            xdr_short( ) 48, 344, 352
            xdr_u_char( ) 353
            xdr_u_int( ) 48, 344, 353
            xdr_u_long( ) 48, 344, 353
            xdr_u_short( ) 48, 344, 353
            xdr_void( ) 48, 344, 354
XDR functions
      xdr_destroy( ) 343, 348
      xdr_free( ) 80, 197, 349
      xdr_getpos( ) 343, 349
      xdr_inline( ) 343, 349
      xdr_setpos( ) 343, 352
      xdrmem_create( ) 343, 350
      xdrrec_create( ) 343, 351
      xdrrec_endofrecord( ) 343, 351
      xdrrec_eof( ) 343, 351
      xdrrec_readbytes( ) 343, 351
      xdrrec_skiprecord( ) 343, 351
      xdrstdio_create( ) 343, 352
xdr_accepted_reply( ) 379
xdr_array( ) 49, 347
xdr_authunix_parms( ) 379
xdr_bool( ) 48, 344, 348
xdr_bytes( ) 49, 347, 348
xdr_callhdr( ) 380
xdr_callmsg( ) 380
xdr_char( ) 48, 344, 348
XDR_DECODE 48
xdr_destroy( ) 343, 348
xdr_double( ) 48, 344, 348
XDR_ENCODE 48
xdr_enum( ) 48, 344, 349
xdr_float( ) 48, 344, 349
XDR_FREE 48
xdr_free( ) 80, 349
xdr_getpos( ) 343, 349
xdr_inline( ) 343, 349
xdr_int( ) 48, 344, 350
xdr_long( ) 48, 344, 350
xdr_opaque( ) 49, 347, 350
xdr_opaque_auth( ) 380
xdr_pmap( ) 357
xdr_pmaplist( ) 357
xdr_pointer( ) 49, 347, 350
xdr_reference( ) 49, 347, 352
xdr_rejected_reply( ) 380
xdr_replymsg( ) 380
xdr_setpos( ) 343, 352
xdr_short( ) 344, 352
xdr_string( ) 49, 347, 352
xdr_u_char( ) 353
xdr_u_int( ) 48, 344, 353
xdr_u_long( ) 48, 344, 353
xdr_u_short( ) 48, 344, 353
xdr_union( ) 49, 347, 353
xdr_vector( ) 49, 347, 354
xdr_void( ) 48, 344, 354
xdr_wrapstring( ) 49, 347, 354
xdrmem_create( ) 343, 350
xdrrec_create( ) 343, 351
xdrrec_endofrecord( ) 343, 351
xdrrec_eof( ) 343, 351
xdrrec_readbytes( ) 343, 351
xdrrec_skiprecord( ) 343, 351
xdrstdio_create( ) 343, 352
Xlib
      XCopyArea( ) 176
      XCopyPlane( ) 176
      XPutImage( ) 176
Xol toolkit 267
Xol/Xt widgets 283
xprt_register( ) 380
xprt_unregister( ) 381
Xt
      dispatch loop 290
      event dispatcher 283
      watching descriptors 284
Xt functions
      XtAddCallback( ) 272
      XtAppAddInput( ) 284, 292
      XtAppAddTimeOut( ) 284
      XtMainLoop( ) 283, 285
      XtRemoveInput( ) 284
      XtRemoveTimeOut( ) 284
XView
      event dispatch loop 276
      event procedure 271
      events 272
      interval timers 274, 275
      Notifier 275, 276
            RPC programming complications 279
      Notifier, modifications required for threads 255
      notify_set_itimer_func( ) 274
      signal handling 280
      system calls to avoid 280
      toolkit 267
XView functions
      notify_enable_rpc_svc( ) 274, 281
      notify_set_itimer_func( ) 274, 276
      notify_set_signal_func( ) 280
      notify_start( ) 281
      window_main_loop( ) 281

#LINK<Y[ Top ]>#
Yellow Pages (YP), defined 441
yp file
      /var/yp, (see Network Information Service (NIS))
ypclnt( ) 219
ypmake 117
ypmatch 117
ypwhich 117

What Our Readers Are Saying

Add a comment for a chance to win!
Average customer rating based on 1 comment:

li.rfeng, August 11, 2010 (view all comments by li.rfeng)
Very good,I want to read.
Was this comment helpful? | Yes | No

Product Details

ISBN:
9780937175774
Author:
Bloomer, John
Publisher:
O'Reilly Media
Location:
Sebastopol, CA :
Subject:
Programming Languages - General
Subject:
Programming - General
Subject:
Technology
Subject:
Data processing
Subject:
Operating Systems - UNIX
Subject:
Computer networks
Subject:
Computers
Subject:
Electronic data processing
Subject:
Client-server computing
Subject:
Programming (electronic computers)
Subject:
Distributed processing
Subject:
UNIX (Computer file)
Subject:
UNIX
Subject:
Distributed Computer Systems
Subject:
Data Processing - General
Subject:
Software Engineering - Programming and Languages
Subject:
RPC;remote procedure calling
Edition Number:
1
Edition Description:
Print PDF
Series:
A nutshell handbook
Series Volume:
no. 444
Publication Date:
19920231
Binding:
TRADE PAPER
Language:
English
Illustrations:
Yes
Pages:
522
Dimensions:
9 x 6 x 1.48 in 1.54 lb

Other books you might like

  1. Unix Shell Programming 3RD Edition New Trade Paper $44.99
  2. Arabic for Beginners (Hippocrene... Used Trade Paper $5.50
  3. Sockets, Shellcode, Porting, and Coding New Mass Market $54.50
  4. The Arabic Alphabet: How to Read and... Used Trade Paper $5.50
  5. Microsoft Windows 2000 API... New Other $58.50

Related Subjects

Computers and Internet » Computers Reference » General
Computers and Internet » Operating Systems » Unix » Unix and Linux Programming
Computers and Internet » Software Engineering » Programming and Languages

Power Programming with RPC (Nutshell Handbooks) New Trade Paper
0 stars - 0 reviews
$30.95 Backorder
Product details 522 pages O'Reilly & Associates - English 9780937175774 Reviews:
"Synopsis" by ,
Written from a programmer's perspective, this book shows what you can do withSun RPC, the de facto standard on UNIX systems. It covers related programmingtopis for Sun and other UNIX systems and teaches through examples.
spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.