Binding the server shouldn't have worked before - sin_len was set to zero...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19415 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-12-04 13:32:47 +00:00
parent 20fa6fad79
commit f7d2a39699

View File

@ -1067,6 +1067,7 @@ setup_server()
{
sockaddr_in address;
memset(&address, 0, sizeof(address));
address.sin_len = sizeof(sockaddr_in);
address.sin_family = AF_INET;
address.sin_port = htons(1024);
address.sin_addr.s_addr = INADDR_ANY;