|
| __init__ () |
|
bool | InitToAddress (const SocketAddress address) |
| Connects the socket to a Specified address.
|
|
bool | Send (str data) |
| Send data to connected address.
|
|
bool | SendTo (str data, const SocketAddress address) |
| Send data to specified address.
|
|
bool | SetToBroadCast () |
| Ask the OS to let us receive broadcast packets on this port.
|
|
Public Member Functions inherited from SocketUDPIncoming |
| __init__ () |
|
bool | InitNoAddress () |
| Set this socket to work without a bound external address.
|
|
bool | OpenForInput (const SocketAddress address) |
| Starts a UDP socket listening on a port.
|
|
bool | OpenForInput (unsigned short int port) |
| Starts a UDP socket listening on a port.
|
|
bool | OpenForInputMCast (const SocketAddress address) |
| Starts a UDP socket listening on a port.
|
|
bool | SendTo (str data, int len, const SocketAddress address) |
| Send data to specified address.
|
|
bool | SetToBroadCast () |
| Flips the OS bits that allow for brodcast packets to come in on this port.
|
|
Public Member Functions inherited from SocketIP |
| __init__ () |
| Def Constructor.
|
|
| __init__ (SOCKET in) |
| Assigns an existing socket to this class.
|
|
bool | Active () |
| Ask if the socket is open (allocated)
|
|
| Close () |
| Closes a socket if it is open (allocated).
|
|
SocketAddress | GetPeerName () |
| Wrapper on berkly getpeername...
|
|
SOCKET | GetSocket () |
| Gets the base socket type.
|
|
SOCKET | GetSocket () |
| Get The RAW file id of the socket.
|
|
int | SetBlocking () |
| Set the socket to block on subsequent calls to socket functions that address this socket.
|
|
int | SetNonBlocking () |
| this function will throw a socket into non-blocking mode
|
|
int | SetRecvBufferSize (int size) |
| Ok it sets the recv buffer size for both tcp and UDP.
|
|
bool | SetReuseAddress (bool flag) |
| Informs a socket to reuse IP address as needed.
|
|
| SetSocket (SOCKET ins) |
| Assigns an existing socket to this class.
|
|
bool | SetV6Only (bool flag) |
| Sets a flag indicating whether this IPv6 socket should operate in dual-stack mode or not.
|
|
Public Member Functions inherited from TypedObject |
TypeHandle | getType () |
|
int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
|
bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly.
|
|
bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type.
|
|
Base functionality for a combination UDP Reader and Writer.
This duplicates code from Socket_UDP_Outgoing, to avoid the problems of multiple inheritance.