version 1.4 | version 1.5 | |||
---|---|---|---|---|
|
| |||
sin.family =AF_INET; | sin.family =AF_INET; | |||
sin.port =port; | sin.port =port; | |||
if (ip_bind_addr.ok()) | ||||
memcpy(&sin.address,ip_bind_addr.addr,4); | ||||
else | ||||
sin.address=0; // any | sin.address=0; // any | |||
socket->Bind(&sin,sizeof(InetAddress)); | socket->Bind(&sin,sizeof(InetAddress)); |
Legend: | |
line(s) removed in v.1.4 | |
line(s) changed | |
line(s) added in v.1.5 |