updated the read property demo.

This commit is contained in:
skarg
2005-12-07 19:55:39 +00:00
parent ca72bf7f9f
commit caf018f072
6 changed files with 96 additions and 24 deletions
+3
View File
@@ -172,6 +172,9 @@ bool bip_init(void)
(const struct sockaddr*)&sin, sizeof(struct sockaddr));
if (rv < 0)
{
fprintf(stderr,"bip: failed to bind to %s port %hd\n",
inet_ntoa(sin.sin_addr),
bip_get_port());
close(sock_fd);
bip_set_socket(-1);
return false;