D | csocket.py | 110 def Bind(s, to): argument 112 ret = libc.bind(s.fileno(), to.CPointer(), len(to)) 117 def Connect(s, to): argument 119 ret = libc.connect(s.fileno(), to.CPointer(), len(to)) 124 def Sendmsg(s, to, data, control, flags): argument 145 if to: 146 if isinstance(to, tuple): 147 to = Sockaddr(to) 148 msg_name = to.CPointer() 149 msg_namelen = len(to)
|