Example #1
0
    public PhotonSocket(PhotonPlatform platform, UdpPlatform udpPlatform)
    {
        _platform    = platform;
        _udpPlatform = udpPlatform;

        if (_udpPlatform != null)
        {
            _udpSocket = _udpPlatform.CreateSocket();
        }
    }