Anyone have UDP issues on Windows?
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
vooood wrote:I solved this UDP issue for me. Even with the Windows Firewall disabled adding an exception on port 9933 (I added both TCP and UDP but UDP only migh be enough) solved the problem for me and I was able to connect and play. Win XP Pro, but I believe it's the same for all.
I already had the port open for TCP and UDP, and I still crash on disconnect.
Windows XP for server box, Win7 for client. (Connecting across the internet, all ports open properly.)
Also have Kaspersky Internet Security 2010.
Using SF2x with the newest update.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
The crash on disconnect is not network/firewall related, but 99% certainly a bug in the API.
So if you can run the demo, but crash on exit - then you are all set for now.
The code itself in the example is all valid - seems a bug in the dll which I'll update and distribute as soon as the bugger is squashed
/Thomas
So if you can run the demo, but crash on exit - then you are all set for now.
The code itself in the example is all valid - seems a bug in the dll which I'll update and distribute as soon as the bugger is squashed
/Thomas
ThomasLund wrote:Could you please try to connect your game client to this ip: 81.226.211.208
Yes, I still get the error while connecting to your mac.
However, it appears I am getting a different error than others perhaps?
Here is the error I get on a disconnect:
Code: Select all
[SFS DEBUG] TCPSocketLayer: General error reading data from socket: Read failure at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
at Sfs2X.Core.Sockets.TCPSocketLayer.Read () [0x00000] in <filename unknown>:0
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
GRIM2594 wrote:vooood wrote:I solved this UDP issue for me. Even with the Windows Firewall disabled adding an exception on port 9933 (I added both TCP and UDP but UDP only migh be enough) solved the problem for me and I was able to connect and play. Win XP Pro, but I believe it's the same for all.
I already had the port open for TCP and UDP, and I still crash on disconnect.
Windows XP for server box, Win7 for client. (Connecting across the internet, all ports open properly.)
Also have Kaspersky Internet Security 2010.
Using SF2x with the newest update.
This was for another issue. UDP connections would not work even with the windows firewall disabled. The shutdown crash was tied to UDP later.
Music was my first love, and it will be my last
Music of the future, and music of the past
To live without my music would be impossible to do
In this world of trauma my music pulls me through
Music of the future, and music of the past
To live without my music would be impossible to do
In this world of trauma my music pulls me through
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Aaaaaand here we go - test this beast please.
http://www.fullcontrol.dk/downloads/SFS ... 101128.dll
I've tested this with the FPS demo in 2.6 editor, standalone and Firefox webplayer - no crash or hang.
So if you could give it some Windows love + 3.0/3.1 testing, then that would be super.
Notice that this is fresh off the compiler and pretty untested. But at least in our end on 2 different Macs there are no crash/hangs of any kind
/Thomas
http://www.fullcontrol.dk/downloads/SFS ... 101128.dll
I've tested this with the FPS demo in 2.6 editor, standalone and Firefox webplayer - no crash or hang.
So if you could give it some Windows love + 3.0/3.1 testing, then that would be super.
Notice that this is fresh off the compiler and pretty untested. But at least in our end on 2 different Macs there are no crash/hangs of any kind
/Thomas
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Who is online
Users browsing this forum: No registered users and 20 guests