Searched refs:filesock (Results 1 – 3 of 3) sorted by relevance
213 AjOSysSocket filesock; in ftpSend() local388 filesock.sock = AJBADSOCK; in ftpSend()392 filesock.sock = ajSysFuncSocket(add->ai_family, add->ai_socktype, in ftpSend()395 if(filesock.sock == AJBADSOCK) in ftpSend()398 if(connect(filesock.sock, add->ai_addr, add->ai_addrlen)) in ftpSend()400 ajSysSocketclose(filesock); in ftpSend()401 filesock.sock = AJBADSOCK; in ftpSend()410 if(filesock.sock == AJBADSOCK) in ftpSend()437 fp = ajSysFdFromSocket(filesock, "r"); in ftpSend()
111 def __init__(self, filesock, report_activity=None): argument112 self.filesock = filesock120 s = self.filesock.read(size)125 s = self.filesock.readline(size)130 s = self.filesock.readinto(b)135 return getattr(self.filesock, name)
252 static socket_t filesock(char *filename) in filesock() function2035 if (BAD_SOCKET(csock = filesock(control_socket))) { in main()