26.12.2013 Aufrufe

Prozesskommunikation

Prozesskommunikation

Prozesskommunikation

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

C program for client in Sun RPC (2)<br />

if (clientHandle == NULL) {<br />

clnt_pcreateerror(serverName);<br />

// unable to contact server<br />

exit(1);<br />

}<br />

Coulouris<br />

Dollimore<br />

Kindberg<br />

a.f = 10;<br />

a.position = 100;<br />

a.lenght = 1000;<br />

data = read_2(&a, clientHandle);<br />

// call to remote read procedure<br />

...<br />

clnt_destroy(clientHandle);<br />

//closes socket<br />

}<br />

return 0;<br />

Betriebssysteme WS 2012, ProzessKommVS 50<br />

Hermann Härtig, TU Dresden

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!