Instance Property

protocolFamily

The protocol family that the receiver uses for communication.

Declaration

@property(readonly) int protocolFamily;

Discussion

Possible values are defined in <sys/socket.h>, such as AF_LOCAL, AF_INET, and AF_INET6.

See Also

Getting Information

address

The receiver’s socket address structure stored inside an NSData object.

protocol

The protocol that the receiver uses for communication.

socket

The receiver’s native socket identifier on the platform.

socketType

The receiver’s socket type.