Skip to content

Extension to ios_system, doing network-based commands

Notifications You must be signed in to change notification settings

the-cc-dev/network_ios

 
 

Repository files navigation

network_ios: network related commands for ios_system

Platform: iOS Build Status
Twitter

ios_system is a replacement for system() that is compatible with AppStore rules and the iOS programming API. Commands are provided as dynamic libraries and loaded as they are required by the user.

ios_system itself contains basic commands, operating on files (ls, mv, rm, tar, curl, grep...) More advanced commands are provided separately. network_ios is one of these extensions. To use it, just compile it and add it to the list of embedded libraries in your app (on top of all the libraries generated by ios_system, of course). There is no change to make to ios_system: if the libnetwork_ios.dylib is present, it will execute the commands. Otherwise, it won't (but that's hardly surprising).

Commands available in this package:

  • ping
  • nc (netcat)
  • nslookup
  • host
  • dig
  • telnet
  • whois

If you run them inside OpenTerm, the interactive versions work. I can't speak for other applications.

How to compile:

  • run the script sh ./get_frameworks.sh. This will download the ios_system framework.
  • open network_ios.xcodeproj and compile
  • place libnetwork_ios.dylib along with the other libraries generated by ios_system.

About

Extension to ios_system, doing network-based commands

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 62.2%
  • Shell 11.0%
  • Makefile 10.2%
  • HTML 7.7%
  • C++ 4.3%
  • Roff 2.1%
  • Other 2.5%