Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: erlang/otp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: maint
Choose a base ref
...
head repository: cleverfox/otp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: maint
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 13 files changed
  • 1 contributor

Commits on Jan 22, 2015

  1. Implementation of Little Endian encoding for ports

    Update preloaded module prim_inet needed!
    Support for 2 bytes and 4 bytes big, little and native endian header by gen_tcp sockets, 'spawn',
    ports and also by erlang:decode_packet/3.
    
    To select endianess of port other than big, you have to add one of three options:
        {packet_endian, big} (it is default),
        {packet_endian, little},
        {packet_endian, native}.
    
    Native endian implemented by memcpy, thus middle endian also supported.
    In win32 native endian implemented as little endian, because win32 supports only
    little endian machines.
    cleverfox committed Jan 22, 2015
    Configuration menu
    Copy the full SHA
    b157c25 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2015

  1. Fix TCP sockets on big endian machine

    Fixed TCP sockets on big endian machine with {packet_endian, native} mode
    cleverfox committed Jan 24, 2015
    Configuration menu
    Copy the full SHA
    a2d0d3e View commit details
    Browse the repository at this point in the history
Loading