
#include <gzDistTransport.h>
Inheritance diagram for gzDistTransportUDP:

Public Member Functions | |
| gzDistTransportUDP (gzULong sendBuffer=GZ_DIST_DEFAULT_SEND_SOCKET_BUFFER, gzULong recvBuffer=GZ_DIST_DEFAULT_RECV_SOCKET_BUFFER) | |
| Constructor. | |
| virtual | ~gzDistTransportUDP () |
| Destructor. | |
| gzBool | createUnicast (const gzHostAddress &destAddress, gzUShort port, const gzHostAddress &interfaceAddress=gzHostAddress()) |
| Setup UDP unicast. | |
| gzBool | createMulticast (const gzSocketAddress &multicastAddress, const gzHostAddress &interfaceAddress=gzHostAddress()) |
| Setup UDP multicast. | |
| gzBool | createBroadcast (gzUShort port, const gzHostAddress &interfaceAddress=gzHostAddress()) |
| Setup UDP broadcast. | |
| gzBool | open () |
| Open transport. | |
| gzVoid | close () |
| Close transport. | |
| gzBool | isOpen () const |
| Check if transport is open. | |
| gzBool | isConnected () |
| Check if transport is connected. | |
| gzBool | send (const gzUByte *buffer, gzULong length) |
| Send message. | |
| gzInt | receive (gzUByte *buffer, gzULong length, gzULong timeout=0) |
| Receive message. | |
Transport using UDP/IP. Supports unicast, multicast and broadcast. Multicast and broadcast are the common transports for local area networks.
Definition at line 112 of file gzDistTransport.h.
|
||||||||||||
|
Constructor.
|
|
||||||||||||||||
|
Setup UDP unicast.
|
|
||||||||||||
|
Setup UDP multicast.
|
|
||||||||||||
|
Setup UDP broadcast.
|