Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xp-framework/networking
Low-level client and server APIs
https://github.com/xp-framework/networking
async low-level network php server sockets xp-framework
Last synced: 2 months ago
JSON representation
Low-level client and server APIs
- Host: GitHub
- URL: https://github.com/xp-framework/networking
- Owner: xp-framework
- Created: 2015-12-08T23:31:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T12:37:08.000Z (10 months ago)
- Last Synced: 2024-04-25T14:01:47.605Z (9 months ago)
- Topics: async, low-level, network, php, server, sockets, xp-framework
- Language: PHP
- Homepage:
- Size: 269 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
README
Networking for the XP Framework
===============================[![Build status on GitHub](https://github.com/xp-framework/networking/workflows/Tests/badge.svg)](https://github.com/xp-framework/networking/actions)
[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)
[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)
[![Requires PHP 7.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_0plus.svg)](http://php.net/)
[![Supports PHP 8.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-8_0plus.svg)](http://php.net/)
[![Latest Stable Version](https://poser.pugx.org/xp-framework/networking/version.png)](https://packagist.org/packages/xp-framework/networking)Client and server APIs
Basic low-level
---------------```php
package peer {
public abstract enum peer.Socketspublic class peer.AuthenticationException
public class peer.BSDSocket
public class peer.ConnectException
public class peer.CryptoSocket
public class peer.ProtocolException
public class peer.SSLSocket
public class peer.ServerSocket
public class peer.Socket
public class peer.SocketEndpoint
public class peer.SocketException
public class peer.SocketInputStream
public class peer.SocketOutputStream
public class peer.SocketTimeoutException
public class peer.TLSSocket
public class peer.UDPSocket
public class peer.URL
}
```Networks and DNS
----------------```php
package peer.net {
public abstract class peer.net.InetAddresspublic class peer.net.Inet4Address
public class peer.net.Inet6Address
public class peer.net.InetAddressFactory
public class peer.net.NameserverLookup
public class peer.net.Network
public class peer.net.NetworkParser
}
```Server
------```php
package peer.server {
public interface peer.server.ServerProtocolpublic class peer.server.AsyncServer
public class peer.server.EventServer
public class peer.server.EventSocket
public class peer.server.ForkingServer
public class peer.server.PreforkingServer
public class peer.server.Server
}package peer.server.protocol {
public interface peer.server.protocol.OutOfResourcesHandler
public interface peer.server.protocol.SocketAcceptHandler
}
```