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


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
Sending messages
  • HRESULT sendEvent( SOCKET s, struct Event* pEv )
    • s - socket to send a message to
    • pEv - message to be sent



© 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