This class encapsulates an IPv6 address:port pair, similarly to
the sockaddr_in
struct in C. The class is implemented and exported by
the vela core. The SockAddrInet
Python class serves only
documentation purposes, and has no real connection to the
behavior implemented in C.
Example 5.40. SockAddrInet example |
---|
The following example defines an IPv6 address:port pair. SockAddrInet('fec0::1', 80) The following example uses SockAddrInet in a dispatcher. Dispatcher(transparent=TRUE, bindto=DBSockAddr(protocol=VD_PROTO_TCP, sa=SockAddrInet('fec0::1', 50080)), service="intra_HTTP_inter", backlog=255, rule_port="50080") |
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu