Socket_IP

from acron.net import Socket_IP
class Socket_IP

Bases:

Bases: TypedObject

Base functionality for a INET domain Socket This call should be the starting point for all other unix domain sockets.

SocketIP | ——————————————————————- | | | | SocketTCP SocketTCP_Listen SocketUDP_Incoming SocketUDP_OutBound

Inheritance 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=""]; }
Active()

Ask if the socket is open (allocated)

Close()

Closes a socket if it is open (allocated).

static GetLastError()

Gets the last errcode from a socket operation.

GetPeerName()

Wrapper on berkly getpeername…

GetSocket()

Gets the base socket type

Get The RAW file id of the socket

static InitNetworkDriver()
SetBlocking()

Set the socket to block on subsequent calls to socket functions that address this socket

SetNonBlocking()

this function will throw a socket into non-blocking mode

SetRecvBufferSize()

Ok it sets the recv buffer size for both tcp and UDP

SetReuseAddress()

Informs a socket to reuse IP address as needed

SetSocket()

Assigns an existing socket to this class

SetV6Only()

Sets a flag indicating whether this IPv6 socket should operate in dual-stack mode or not.

__init__()

Def Constructor

Assigns an existing socket to this class

static get_class_type()