Basic HTML version of Foils prepared April 25 98

Foil 21 Sending and Receiving Messages in C

From General Tango API Java JavaScript and C Tango Tutorial Alliance 98 NCSA Illinois -- April 27 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