Socket_IP
from panda3d.core 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_OutBoundInheritance diagram
- Close()
Closes a socket if it is open (allocated).
- GetPeerName() Socket_Address
Wrapper on berkly getpeername…
- GetSocket() int
Get The RAW file id of the socket
- SetBlocking() int
Set the socket to block on subsequent calls to socket functions that address this socket
- SetV6Only(flag: bool) bool
Sets a flag indicating whether this IPv6 socket should operate in dual-stack mode or not.
- __init__()
Def Constructor
- __init__(in: int)
Assigns an existing socket to this class
- static get_class_type() TypeHandle