Socket_IP¶
-
class Socket_IP¶
Bases:
TypedObjectBase functionality for a INET domain Socket This call should be the starting point for all other unix domain sockets.
SocketIP| ——————————————————————- | | | |SocketTCPSocketTCP_Listen SocketUDP_Incoming SocketUDP_OutBoundInheritance diagram
digraph inheritance3d15f6162b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Socket_IP" [URL="acron.net.Socket_IP.html#acron.net.Socket_IP",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "Socket_IP" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }- Socket_IP.Active()¶
Ask if the socket is open (allocated)
- Socket_IP.Close()¶
Closes a socket if it is open (allocated).
- static Socket_IP.GetLastError()¶
Gets the last errcode from a socket operation.
- Socket_IP.GetPeerName()¶
Wrapper on berkly getpeername…
- Socket_IP.GetSocket()¶
Gets the base socket type
Get The RAW file id of the socket
- static Socket_IP.InitNetworkDriver()¶
- Socket_IP.SetBlocking()¶
Set the socket to block on subsequent calls to socket functions that address this socket
- Socket_IP.SetNonBlocking()¶
this function will throw a socket into non-blocking mode
- Socket_IP.SetRecvBufferSize()¶
Ok it sets the recv buffer size for both tcp and UDP
- Socket_IP.SetReuseAddress()¶
Informs a socket to reuse IP address as needed
- Socket_IP.SetSocket()¶
Assigns an existing socket to this class
- Socket_IP.SetV6Only()¶
Sets a flag indicating whether this IPv6 socket should operate in dual-stack mode or not.
- Socket_IP.__init__()¶
Def Constructor
Assigns an existing socket to this class
- static Socket_IP.get_class_type()¶