Comments (18)
I'm not aware of such an issue currently. Can you describe your problem more thoroughly?
from lidgren-network-gen3.
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.
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.
@pax83 please provide a small project which reproduces the issue.
from lidgren-network-gen3.
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.
I use the last version
from lidgren-network-gen3.
help me
from lidgren-network-gen3.
Defined "CONSTRAINED" for your project.
from lidgren-network-gen3.
Hmm... markup screws me... it's underscore, underscore, CONSTRAINED, underscore, underscore
from lidgren-network-gen3.
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.
I've never tested the library on IOS; so please post back any fixes and changes necessary you find.
from lidgren-network-gen3.
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.
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.
Oh,No
from lidgren-network-gen3.
use Xcode 7.1.1
Close BitCode
from lidgren-network-gen3.
help me !haha
from lidgren-network-gen3.
I have this problem after reconecting to server
from lidgren-network-gen3.
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)
- Failed to send packet: System.Net.Sockets.SocketException HOT 2
- ReceivedPong doesn't consider late/not in order pong messages HOT 8
- Incorrect network messages/malformed packets could easily overwhelm the server HOT 2
- Cannot Reconnect
- Example Code from Basics doesn't yield same results HOT 1
- Trying to compile for Android HOT 2
- Accepting connection does not increase ConnectionsCount? HOT 1
- Is there a possibility to modify lidgren to support DTLS??
- [QUESTION] Thread safety HOT 5
- Unity 2019.4 LTS: calling client.Connect gives SocketException Invalid arguments immediately HOT 3
- Active forks? HOT 13
- Large unreliable message cannot be sent properly HOT 2
- Might want to lock stuff here? HOT 2
- The examples client gives error when trying to connect to server form second VS
- Unity network
- Is it possible to send and receive structs instead of classes ? HOT 1
- Is it still possible to build for Unity? HOT 3
- NetQueue concurrency HOT 2
- ICMP Destination unreachable (port unreachable) won't close connection HOT 1
- Server can't receive connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lidgren-network-gen3.