Displaying 1 result from an estimated 1 matches for "lp_socket_address".
1997 Sep 23
0
PATCH: Wins support in smbclient
...out (SOCK_DGRAM,
+ &wins_addr,
+ 137, 3000)) != -1) {
+ if (name_query (bcast, host, 0x20, False, True, wins_addr, &dest_ip, 0)) {
+ failed = False;
+ }
+ close (bcast);
+ }
+
+ if (failed && (bcast = open_socket_in(SOCK_DGRAM, 0, 3,
interpret_addr(lp_socket_address()))) != -1) {
set_socket_options(bcast, "SO_BROADCAST");