Displaying 2 results from an estimated 2 matches for "broadcast_address".
2007 Feb 12
1
playing with SO_BROADCAST on centos
...MP_SET_MASK
};
typedef union
{
unsigned char b[4];
uint32_t v;
} IPADDR;
typedef struct
{
unsigned char b[6];
} MACADDR;
typedef struct
{
unsigned short magic;
unsigned short code;
IPADDR ip;
IPADDR mask;
MACADDR mac;
ushort Deviceid;
} HD_NMP;
HD_NMP nmp;
struct sockaddr_in broadcast_address;
bzero((char *) &broadcast_address, sizeof(broadcast_address));
broadcast_address.sin_family = AF_INET;
broadcast_address.sin_port = htons(NMP_PORT);
broadcast_address.sin_addr.s_addr = inet_addr("255.255.255.255");
socket_handle = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if(socket...
2003 May 19
3
Newbie Configuration of 2.2.3a on HP-UX 11.0
...$ps -ef|grep mbd
root 4533 1 0 May 16 ? 0:00 /opt/samba/bin/smbd -D
root 4540 1 0 May 16 ? 0:15 /opt/samba/bin/nmbd -D
Following is the output from smbclient:
$./smbclient -L <UNIX_Samba_host>
added interface ip=<IP_address> bcast=<broadcast_address>
nmask=255.255.255.0
Password:
Domain=[UNIX] OS=[Unix] Server=[Samba 2.2.3a]
tree connect failed: SUCCESS - 0
No recent entries in samba.log exist.
When I try to connect from my Win2000 PC, I get the following:
C:\>net view \\<UNIX_Samba_host>
System error 64 has occurr...