Lines Matching refs:sock
85 my ($sock, $domain, $host, $ntver) = @_;
144 return $sock->send($pdu_req) || die "no send: $@";
288 my ($sock, $return_string) = @_;
291 $ret = $sock->recv($pdu_out, 8192) || die "failed to read from socket: $@";
292 #$ret = sysread($sock, $pdu_out, 8192);
433 my ($ret, $sock, $reply);
458 $sock = connect_cldap($server);
459 if (!$sock) {
463 $ret = send_cldap_netlogon($sock, $domain, $host, $ntver);
465 close($sock);
469 $ret = recv_cldap_netlogon($sock, $reply);
471 close($sock);
474 close($sock);