Part of samba.socket_wrapper View In Hierarchy
Open a socket of the give type.
Method | shutdown | shutdown(how) |
Method | gettimeout | gettimeout() -> value |
Method | setsockopt | setsockopt(level, option, value) |
Method | accept | accept() -> (socket object, address info) |
Method | connect | connect(address) |
Method | getsockname | getsockname() -> address info |
Method | close | close() |
Method | __new__ | T.__new__(S, ...) -> a new object with type S, a subtype of T |
Method | connect_ex | connect_ex(address) |
Method | makefile | makefile() -> file object |
Method | send | send(data, flags) |
Method | write | write(data) |
Method | dup | dup() -> socket object |
Method | listen | listen(backlog) |
Method | dup2 | dup2(socket object) -> socket object |
Method | read | read(buflen) -> data |
Method | getpeername | getpeername() -> address info |
Method | recv | recv(buflen, flags) -> data |
Method | setblocking | setblocking(flag) |
Method | getsockopt | getsockopt(level, option[, buffersize]) -> value |
Method | fileno | fileno() -> file descriptor |
Method | bind | bind(address) |
Method | recvfrom | recvfrom(buflen, flags) -> (data, sender address) |
Method | sendto | sendto(data, flags, addr) |
Method | sendall | sendall(data, flags) |
Method | settimeout | settimeout(value) |
Return the timeout in seconds associated with socket operations.
Return a new socket object connected to teh same system resource.