Hi Sam

2018-01-25 23:11 GMT+01:00 Sam Ding <samd...@ca.ibm.com>:
>
> The test case  ext/sockets/tests/socket_recvmsg.php  has following output
> on x86_64:
>
> =======
> ...
> 1 Array
> 2 (
> 3    [name] => Array
> 4        (
> 5            [family] => 10
> 6            [addr] => ::1
> 7            [port] => 7001
> 8            [flowinfo] => 0
> 9            [scope_id] => 0
> 10        )
> 11
> 12    [control] => Array
> 13       (
> 14            [0] => Array
> 15               (
> 16                    [level] => 41
> 17                    [type] => 50
> 18                    [data] => Array
> 19                       (
> 20                            [addr] => ::1
> 21                            [ifindex] => 1
> 22                        )
> 23                )
> 24        )
> ...
> =======
> This is output  by c
> function:"socket_recvmsg"(/home/work/php/php/ext/sockets/sendrecvmsg.c:214),

You can find the implementation of socket_recvmsg() in the ext/sockets
directory here:
http://git.php.net/?p=php-src.git;a=blob;f=ext/sockets/sendrecvmsg.c;h=7b9c4e8ad357b73b514dc5feb8dc8d9ca215126b;hb=HEAD#l210



-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to