The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetIOudp class

A NetIOudp object performs network writes and reads on UDP sockets. More...

Collaboration diagram for NetIOudp class:

Modules

 ReliableUDP class
 A ReliableUDP object implements a protocol to make UDP reliable.
 

Functions

NetIOudpnetioudp_new (gsize objsize, ConfigContext *config, PacketDecoder *decoder)
 Construct new UDP NetIO object (and its socket, etc) More...
 
typedef struct _NetIOudp NetIOudp
 

Detailed Description

A NetIOudp object performs network writes and reads on UDP sockets.

It is a class from which we might eventually make subclasses (but it doesn't seem likely), and is managed by our C-Class Management system. Except for the constructor, it is identical to the NetIO class.

Typedef Documentation

typedef struct _NetIOudp NetIOudp

Definition at line 35 of file netioudp.h.

Function Documentation

NetIOudp* netioudp_new ( gsize  objsize,
ConfigContext config,
PacketDecoder decoder 
)

Construct new UDP NetIO object (and its socket, etc)

Parameters
[in]objsizeSize of NetIOudp object, or zero.
[in,out]configconfig info
[in,out]decoderpacket decoder

Definition at line 50 of file netioudp.c.

References _NetIOudp::baseclass, CASTTOCLASS, _NetIO::giosock, netio_new(), and proj_class_register_subclassed().

Referenced by cma.AssimCclasses.pyNetIOudp::__init__(), and reliableudp_new().

Here is the call graph for this function:

Here is the caller graph for this function: