* Added missing SO_TYPE.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-04-08 15:24:45 +00:00
parent ab9873555a
commit 8aa910b94c

View File

@ -1056,6 +1056,14 @@ socket_get_option(net_socket* socket, int level, int option, void* value,
return B_OK;
}
case SO_TYPE:
{
int32* _set = (int32*)value;
*_set = socket->type;
*_length = sizeof(int32);
return B_OK;
}
case SO_ERROR:
{
int32* _set = (int32*)value;