|
| | Buffered_DatagramConnection (int rbufsize, int wbufsize, int write_flush_point) |
| |
| virtual | ~Buffered_DatagramConnection (void) |
| | This is the function that does the connection for us.
|
| |
| void | AddAddress (Socket_Address &inadr) |
| | must be called to set value to the server
|
| |
| size_t | AddressQueueSize () |
| |
| void | ClearAddresses (void) |
| |
| bool | DoConnect (void) |
| |
| bool | Flush (void) |
| | Flush all writes.
|
| |
| virtual TypeHandle | force_init_type () |
| |
| virtual TypeHandle | get_type () const |
| |
| bool | GetMessage (Datagram &val) |
| | Reads a message.
|
| |
| bool | IsConnected (void) |
| |
| void | Reset (void) |
| | Reset.
|
| |
| bool | SendMessage (const Datagram &msg) |
| | send the message
|
| |
| void | WaitForNetworkReadEvent (PN_stdfloat MaxTime) |
| |
| | Socket_TCP (SOCKET) |
| |
| bool | ActiveOpen (const Socket_Address &theaddress, bool setdelay) |
| | This function will try and set the socket up for active open to a specified address and port provided by the input parameter.
|
| |
| bool | ActiveOpenNonBlocking (const Socket_Address &theaddress) |
| | This function will try and set the socket up for active open to a specified address and port provided by the input parameter (non-blocking version)
|
| |
| int | DontLinger () |
| | Turn off the linger flag.
|
| |
| bool | ErrorIs_WouldBlocking (int err) |
| |
| int | RecvData (char *data, int size) |
| | Read the data from the connection - if error 0 if socket closed for read or length is 0 + bytes read ( May be smaller than requested)
|
| |
| std::string | RecvData (int max_len) |
| | Read the data from the connection - if error 0 if socket closed for read or length is 0 + bytes read (May be smaller than requested)
|
| |
| int | SendData (const char *data, int size) |
| | Ok Lets Send the Data - if error 0 if socket closed for write or lengh is 0 + bytes writen ( May be smaller than requested)
|
| |
| int | SendData (const std::string &str) |
| |
| int | SetLinger (int interval_seconds=0) |
| | will control the behavior of SO_LINGER for a TCP socket
|
| |
| int | SetNoDelay (bool flag=true) |
| | Disable Nagle algorithm.
|
| |
| int | SetSendBufferSize (int insize) |
| | Just like it sounds.
|
| |
| bool | ShutdownSend () |
| |
| | Socket_IP () |
| | Def Constructor.
|
| |
| | Socket_IP (SOCKET in) |
| | Assigns an existing socket to this class.
|
| |
| virtual | ~Socket_IP () |
| | Destructor.
|
| |
| bool | Active () |
| | Ask if the socket is open (allocated)
|
| |
| void | Close () |
| | Closes a socket if it is open (allocated).
|
| |
| Socket_Address | GetPeerName (void) const |
| | Wrapper on berkly getpeername...
|
| |
| SOCKET | GetSocket () |
| | Gets the base socket type.
|
| |
| SOCKET | GetSocket () const |
| | 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=true) |
| | Informs a socket to reuse IP address as needed.
|
| |
| void | 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.
|
| |
|
| TypedObject (const TypedObject ©)=default |
| |
| TypedObject * | as_typed_object () |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| const TypedObject * | as_typed_object () const |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| int | get_best_parent_from_Set (const std::set< int > &) const |
| |
| int | get_type_index () const |
| | Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
| |
| bool | is_exact_type (TypeHandle handle) const |
| | Returns true if the current object is the indicated type exactly.
|
| |
| bool | is_of_type (TypeHandle handle) const |
| | Returns true if the current object is or derives from the indicated type.
|
| |
|
TypedObject & | operator= (const TypedObject ©)=default |
| |
| void | operator delete (void *, void *) |
| |
| void | operator delete (void *ptr) |
| |
| void | operator delete[] (void *, void *) |
| |
| void | operator delete[] (void *ptr) |
| |
| void * | operator new (size_t size) |
| |
| void * | operator new (size_t size, void *ptr) |
| |
| void * | operator new[] (size_t size) |
| |
| void * | operator new[] (size_t size, void *ptr) |
| |