Lines Matching refs:sockfd
43 virtual int Accept(int sockfd,
47 // getsockopt(sockfd, SOL_SOCKET, SO_ATTACH_FILTER, ...)
48 virtual int AttachFilter(int sockfd, struct sock_fprog* pf) const;
51 virtual int Bind(int sockfd,
56 virtual int BindToDevice(int sockfd, const std::string& device) const;
59 virtual int ReuseAddress(int sockfd) const;
62 virtual int AddMulticastMembership(int sockfd, in_addr_t addr) const;
68 virtual int Connect(int sockfd,
79 virtual int GetSockName(int sockfd,
83 // getsockopt(sockfd, SOL_SOCKET, SO_ERROR, ...)
84 virtual int GetSocketError(int sockfd) const;
90 virtual int Listen(int sockfd, int backlog) const;
93 virtual ssize_t RecvFrom(int sockfd, void* buf, size_t len, int flags,
104 virtual ssize_t Send(int sockfd,
110 virtual ssize_t SendTo(int sockfd,
118 virtual int SetNonBlocking(int sockfd) const;
121 virtual int SetReceiveBuffer(int sockfd, int size) const;
124 virtual int ShutDown(int sockfd, int how) const;