Forum Topic - protocol family socket intarface: (1 Item)
   
protocol family socket intarface  
Hi guys. I'm implementing protocol family socket intarface. So i have some questions:

1. In <sys/sockmsg.h> getsockopt() call declared as message:

/* int getsockopt( int fd, int level, int optname, void* optval, size_t* optlen ) */
struct _io_sock_gopt {
	struct _io_msg msg;
	uint16_t level;
	uint16_t optname;
};

So where is optlen?

2. As I can see accept(int s, struct sockaddr * addr, socklen_t * addrlen) implemented as openfd message with XTYPE = 
_IO_OPENFD_ACCEPT. But I cant see payload and reply format.
Can you help me ? Or how to get access to project source code ? With my QNX account I have permission denied.

Thanks in advance.

Best Regards.