Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2010
  1. Allow arbitrary socket family, type and protocol

    authored
    Simplify the procket external command by allowing the user to set
    any protocol, type and family for the socket.
Commits on Mar 9, 2010
  1. Dynamically create path to procket executable too.

    authored
    The path to the procket executable can still be set using {progname, ...}.
    By default, figure out the path relative to the module in ebin and run
    it using sudo.
  2. Dynamically create path to NIF relative to module.

    authored
    Assumes the lib is in the priv directory.
Commits on Mar 8, 2010
  1. Changes for the R13B04 nif interface.

    authored
    Also an excuse to do some clean up.
Commits on Jan 11, 2010
  1. Make the NIF stateless!

    authored
    Need to explicitly pass in socket info to the procket NIF, rather than it
    tracking the data internally. This should make it much safer and reliable.
    
    Changes to the interface:
    
    open/2 -> open/1 : vestigal protocol arg removed, stick to streams. Erlang module changed to match (along with the bizarre passing in of the port as a protocol, who did that? o_O)
    
    Returns the socket descriptor listening on the Unix socket: {ok, FD}
    
    poll/0 -> poll/1 : takes the socket descriptor
    
    close/0 -> close/2 : close(SocketPath, SocketDescriptor), closes the socket descriptor and deletes the socket path.
Commits on Jan 9, 2010
Something went wrong with that request. Please try again.