PreviousUpNext

15.4.816  src/lib/internet/posix-socket-junk.pkg

## posix-socket-junk.pkg

# Compiled by:
#     src/lib/std/standard.lib

# socket_junk package for posix systems.

package   posix_socket_junk
: (weak)  Posix_Socket_Junk             # Posix_Socket_Junk     is from   src/lib/internet/posix-socket-junk.api
{
    include socket_junk;

    # Establish a client-side connection
    # to a Unix-domain stream socket:
    #
    fun connect_client_to_unix_domain_stream_socket path
        =
        socket
        where
            socket =  unix_domain_socket::stream::socket ();
          
            socket::connect (socket, unix_domain_socket::string_to_unix_domain_socket_address path);
        end;
};



## COPYRIGHT (c) 1999 Bell Labs, Lucent Technologies.
## Subsequent changes by Jeff Prothero Copyright (c) 2010-2012,
## released under Gnu Public Licence version 3.


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext