HostAndPort: Parser for host and port pairs like localhost:22

[ library, mit, network ] [ Propose Tags ] [ Report a vulnerability ]

Simple parser for parsing host and port pairs. Host can be either ipv4, ipv6 or domain name and port are optional.

IPv6 address should be surrounded by square brackets.

Examples:

  • localhost

  • localhost:8080

  • 127.0.0.1

  • 127.0.0.1:8080

  • [::1]

  • [::1]:8080


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.2.0
Dependencies base (>=4.5 && <5), parsec (>=3.1) [details]
Tested with ghc ==7.4, ghc ==7.6, ghc ==7.8, ghc ==7.10
License MIT
Copyright (c) Slava Bacherikov 2015
Author Slava Bacherikov
Maintainer slava@bacher09.org
Category Network
Home page https://github.com/bacher09/hostandport
Bug tracker https://github.com/bacher09/hostandport/issues
Source repo head: git clone https://github.com/bacher09/darkplaces-rcon.git
Uploaded by slava at 2015-08-01T14:30:24Z
Distributions NixOS:0.2.0
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 2137 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-01 [all 1 reports]

Readme for HostAndPort-0.2.0

[back to package description]

HostAndPort

[Build Status] (https://travis-ci.org/bacher09/hostandport)

Simple Haskell library for parsing connection strings that contain host and port info. For more info see package documentation.

License

MIT