# _Io_getFirstByProperty

Searches through every alive socket to find and return the first result of the desired properties.

_Io_getFirstByProperty($sPropToSearchFor, $valueToSearchFor, $propsToReturn, $default = Null)

## Return Value

Mixed

## Remarks

You can retrieve multiple properties by using commas. If nothing was found @error will be set and the $default value will be used.

## Related

_Io_socketGetProperty, _Io_socketSetProperty, _Io_getAllByProperty