Basic HTML version of Foils prepared
Foil 23 Sending and Receiving Messages in C
From
General Tango API Java JavaScript and C Tango Tutorial San Diego MRA --
June 26 27 98 Datemod;June 26 98
.
by
TangoInteractive Team
1
Receiving messages
struct Event* receiveEvent(SOCKET s)
s - socket to receive a message from
returns pointer to received message or NULL
if there is no available data, method blocks
2
Sending messages
HRESULT sendEvent( SOCKET s, struct Event* pEv )
s - socket to send a message to
pEv - message to be sent
in Table To:
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sun Nov 29 1998