Skip to content

xp-framework/networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Networking for the XP Framework

Build status on GitHub XP Framework Module BSD Licence Requires PHP 7.0+ Supports PHP 8.0+ Latest Stable Version

Client and server APIs

Basic low-level

package peer {
  public abstract enum peer.Sockets

  public 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

package peer.net {
  public abstract class peer.net.InetAddress

  public 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

package peer.server {
  public interface peer.server.ServerProtocol

  public 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
}