The oskit_socket COM interface defines an interface which capture the semantics of a socket as defined in the corresponding POSIX/CAE standards. The oskit_socket COM interface inherits from oskit_posixio. It can be queried for an oskit_stream interface. This query will always be successful, but the resulting oskit_stream instance might not support all methods. Generally, at least read and write will be supported. The oskit_socket COM interface provides in addition to the oskit_posixio COM interface the following methods:
Note that these methods are not minimal, but correspond very closely to the traditional BSD interfaces.
Note: the following paragraphs have a certain likelihood to change. The main reason for this is the obviously undesirable connection between the way socket factories and the socket interface interact. On a more positive note, everything right now is so close to the BSD interfaces that the reader familiar with those shouldn't have any problems understanding these.