HostAndPort: Parser host and port pairs like localhost:22

[ library, mit, network ] [ Propose Tags ]

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

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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]
License MIT
Copyright (c) Slava Bacherikov 2015
Author Slava Bacherikov
Maintainer slava@bacher09.org
Revised Revision 1 made by slava at 2015-05-29T17:17:19Z
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-03-05T19:26:49Z
Distributions NixOS:0.2.0
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 2080 total (13 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-03-07 [all 1 reports]