Code Monkey home page Code Monkey logo

Comments (18)

lidgren avatar lidgren commented on June 24, 2024

I'm not aware of such an issue currently. Can you describe your problem more thoroughly?

from lidgren-network-gen3.

pax83 avatar pax83 commented on June 24, 2024

Somtimes we receive next warning message:

WarningMessage: Socket exception: System.Net.Sockets.SocketException: Operation on non-blocking socket would block
  at System.Net.Sockets.Socket.ReceiveFrom_nochecks_exc (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags, System.Net.EndPoint& remote_end, Boolean throwOnError, System.Int32& error) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.ReceiveFrom_nochecks (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags, System.Net.EndPoint& remote_end) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.ReceiveFrom (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags, System.Net.EndPoint& remoteEP) [0x00000] in <filename unknown>:0 
  at Lidgren.Network.NetPeer.Heartbeat () [0x00000] in <filename unknown>:0 

And many warning messages

WarningMessage: Received unhandled library message Acknowledge from xxx.xxx.xxx.xxx:xxxxx

from lidgren-network-gen3.

pax83 avatar pax83 commented on June 24, 2024

Once we tried to upgrade to the latest version of the library, but the problems become greater. And we rollback it. What is the most stable version of the library?

from lidgren-network-gen3.

AgentFire avatar AgentFire commented on June 24, 2024

@pax83 please provide a small project which reproduces the issue.

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

Error]:Exception:{0}
{1}This platform is not supported at System.Collections.Generic.RBTree..ctor (System.Object hlp) [0x00000] in :0
at System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties () [0x00000] in :0
at Lidgren.Network.NetUtility.GetNetworkInterface () [0x00000] in :0
at Lidgren.Network.NetUtility.GetBroadcastAddress () [0x00000] in :0
at Lidgren.Network.NetPeerConfiguration..ctor (System.String appIdentifier) [0x00000] in :0
at DashFire.Network.NetworkSystem.Init () [0x00000] in :0
at DashFire.GameControler.InitLogic () [0x00000] in :0
at GameLogic.StartLogic () [0x00000] in :0
at GameLogic+c__Iterator25.MoveNext () [0x00000] in :0

I use the lidgren Mac 5.1.2 unity platform has been a problem

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

I use the last version

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

help me

from lidgren-network-gen3.

lidgren avatar lidgren commented on June 24, 2024

Defined "CONSTRAINED" for your project.

from lidgren-network-gen3.

lidgren avatar lidgren commented on June 24, 2024

Hmm... markup screws me... it's underscore, underscore, CONSTRAINED, underscore, underscore

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

My platform is ios 9.1
I have modified the "CONSTRAINED" Unity_IOS, but installed to the apple phone Is also an error

from lidgren-network-gen3.

lidgren avatar lidgren commented on June 24, 2024

I've never tested the library on IOS; so please post back any fixes and changes necessary you find.

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

I have tried PlatformConstrained.cs andPlatformWin32.cs

[Error]:LobbyNetworkSystem.OnError Exception:Operation on non-blocking socket would block
at System.Collections.Generic.RBTree..ctor (System.Object hlp) [0x00000] in :0
at System.Net.Sockets.SocketException..ctor (Int32 error) [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, SocketError& errorCode) [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in :0
at SuperSocket.ClientEngine.AsyncTcpSession.MyReceiveCallback (IAsyncResult ar) [0x00000] in :0
at System.Net.Sockets.Socket+SocketAsyncResult.Complete () [0x00000] in :0
DashFire.GfxSystem:TickImpl()
DashFire.GfxSystem:Tick()
DashFire.GameControler:TickGame()
GameLogic:Update()

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

I have tried PlatformConstrained.cs andPlatformWin32.cs

[Error]:LobbyNetworkSystem.OnError Exception:Operation on non-blocking socket would block
at System.Collections.Generic.RBTree..ctor (System.Object hlp) [0x00000] in :0
at System.Net.Sockets.SocketException..ctor (Int32 error) [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, SocketError& errorCode) [0x00000] in :0
at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in :0
at SuperSocket.ClientEngine.AsyncTcpSession.MyReceiveCallback (IAsyncResult ar) [0x00000] in :0
at System.Net.Sockets.Socket+SocketAsyncResult.Complete () [0x00000] in :0
DashFire.GfxSystem:TickImpl()
DashFire.GfxSystem:Tick()
DashFire.GameControler:TickGame()
GameLogic:Update()

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

Oh,No

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

use Xcode 7.1.1
Close BitCode

from lidgren-network-gen3.

LinkSpaceGame avatar LinkSpaceGame commented on June 24, 2024

help me !haha

from lidgren-network-gen3.

Rombersoft avatar Rombersoft commented on June 24, 2024

I have this problem after reconecting to server

from lidgren-network-gen3.

woo37830 avatar woo37830 commented on June 24, 2024

Try setting the command timeout to zero on the query. Worked for me.

        private void ExecuteQuery(string qStr)
        {
            using (SqlConnection cnx = new SqlConnection(_ConnectionString))
            {
                using (SqlCommand cmd = new SqlCommand(qStr, cnx))
                {
                    cmd.Connection.Open();
                    cmd.CommandTimeout = 0;
                    cmd.ExecuteNonQuery();
                }
            }
        }

from lidgren-network-gen3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.