c4d_network.h File Reference

Classes

class  NetworkIpConnection
 

Namespaces

 cinema
 

Functions

Bool WriteIpAddr (const NetworkIpAddr &addr, HyperFile *hf)
 
Bool ReadIpAddr (NetworkIpAddr &addr, HyperFile *hf)
 
Bool WriteIpAddrPort (const NetworkIpAddrPort &addr, HyperFile *hf)
 
Bool ReadIpAddrPort (NetworkIpAddrPort &addr, HyperFile *hf)
 
NetworkIpConnection * OpenOutgoing (const NetworkIpAddrPort &adr, BaseThread *thread=nullptr, Int connectTimeout=30, Int sessionTimeout=10, Bool useNagleAlgorithm=true, Int *error=nullptr)
 
NetworkIpConnection * OpenOutgoing (const maxon::String &adr, BaseThread *thread=nullptr, Int connectTimeout=30, Int sessionTimeout=10, Bool useNagleAlgorithm=true, Int *error=nullptr)
 
Int BytesInInputBuffer (NetworkIpConnection *ipc)
 
Int RecvBytes (NetworkIpConnection *ipc, void *buf, Int size)
 
Int SendBytes (NetworkIpConnection *ipc, const void *buf, Int size)
 
NetworkIpConnection * OpenListener (const NetworkIpAddrPort &adr, BaseThread *thread, Int sessionTimeout, Bool dontwait, Int *error)
 
NetworkIpConnection * OpenListener (const maxon::String &adr, BaseThread *thread, Int sessionTimeout, Bool useNagleAlgorithm, Int *error)
 
NetworkIpConnection * OpenWaitForIncoming (NetworkIpConnection *listener, BaseThread *connection, Int *error)
 
void KillConnection (NetworkIpConnection *&ipc)
 
void CloseConnection (NetworkIpConnection *&ipc)