What is “sdl_net” Package?

Sample cross-platform networking library
For more details: https://www.libsdl.org/projects/SDL_net/release-1.2.html

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install sdl_net.
    brew install sdl_net

Now, use sdl_net!