UDP Client: Even when there no UDP server running, UDP Client On.Open gets called. #99
Replies: 5 comments
-
|
Hey. On.Open is called when Connection Opened. e.g. when TCP/RUDP server says On.Open meaning server is listing client, when TCP/RUDP client say's On.Open mean client connected successful with server. but UDP don't have connection by really is just signature, but is same When UDP server says On.Open, is already to "connect" client or is listing. when client On.Open is already to send snd receiving server data
…---- On ter, 01 jul 2025 07:48:42 +0200 ***@***.*** wrote ----
In my understanding, On.Open should not be called when a server isn't running? Right now, it is confusing whether or not the client has successfully connected to the server or not, as On.Open always returns without any problems. What's the best way to solve this?
—
Reply to this email directly, #99 , or https://github.com/notifications/unsubscribe-auth/AX7TDRYH7OCIXGTEEUPKWB33GIOLVAVCNFSM6AAAAACAQAXLLGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGUYTMNBVHE .
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
|
If you are interested to detect from really server is running: isn't possible in any Raw UDP library Netly.UDP or any UDP library because, UDP isn't connection based (if you connect to offline IP e.g. will says connected and will send package) obviously will never received, is UDP design, but if you uses server and client c# to use RUDP (Reliable UDP) you can detect connection and disconnection and also can send Data as Unreliable (like Raw UDP, no overhead) and Reliable (like TCP, small overhead: faster then TCP). Or just connect server as RUDP and any messages like RUP using Unreliable package, and will always know when connected, disconnected...
…---- On ter, 01 jul 2025 07:56:06 +0200 ***@***.*** wrote ----
Hey. On.Open is called when Connection Opened. e.g. when TCP/RUDP server says On.Open meaning server is listing client, when TCP/RUDP client say's On.Open mean client connected successful with server. but UDP don't have connection by really is just signature, but is same When UDP server says On.Open, is already to "connect" client or is listing. when client On.Open is already to send snd receiving server data
---- On ter, 01 jul 2025 07:48:42 +0200 ***@***.*** wrote ----
In my understanding, On.Open should not be called when a server isn't running? Right now, it is confusing whether or not the client has successfully connected to the server or not, as On.Open always returns without any problems. What's the best way to solve this?
—
Reply to this email directly, #99 , or https://github.com/notifications/unsubscribe-auth/AX7TDRYH7OCIXGTEEUPKWB33GIOLVAVCNFSM6AAAAACAQAXLLGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGUYTMNBVHE .
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
|
thanks for the answer. Another follow up question, Ive built the application that uses Netly to my iPad, however, it seems to be blocked by iOS security measures and clients cannot connect to the server running on the iPad Netly app. Do you know how to set up for build on the iPad? |
Beta Was this translation helpful? Give feedback.
-
|
Hey. About iPad and iOS honestly should work normally, UDP client and server. I never tested netly udp and rudp on iOS. but you can send me what error are you getting e.g. isn't connecting ? is server running on ios or client only? did you try connect iOs to external server host?
I can help you!
…---- On qui, 03 jul 2025 10:12:36 +0200 ***@***.*** wrote ----
thanks for the answer. Another follow up question, Ive built the application that uses Netly to my iPad, however, it seems to be blocked by iOS security measures and clients cannot connect to the server running on the iPad Netly app. Do you know how to set up for build on the iPad?
—
Reply to this email directly, #99 (comment) , or https://github.com/notifications/unsubscribe-auth/AX7TDRZ3UD65ICLKF3EJXFT3GTQXJAVCNFSM6AAAAACAQAXLLGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRUHEZTOMY .
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
|
You can try using final IP not like 0.0.0.0 (IPAdress.Any) also detect if server (on ios-side) is probably listing with: server.On.Open server.On.Error any socket config you can use server.On.Modify...
If server is getting error is good coz we can fix, but if not mean ios is blocking. note ios don't allow socket running on background, let you app on foreground mode (screen alive)
…---- On qui, 03 jul 2025 10:12:36 +0200 ***@***.*** wrote ----
thanks for the answer. Another follow up question, Ive built the application that uses Netly to my iPad, however, it seems to be blocked by iOS security measures and clients cannot connect to the server running on the iPad Netly app. Do you know how to set up for build on the iPad?
—
Reply to this email directly, #99 (comment) , or https://github.com/notifications/unsubscribe-auth/AX7TDRZ3UD65ICLKF3EJXFT3GTQXJAVCNFSM6AAAAACAQAXLLGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRUHEZTOMY .
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my understanding, On.Open should not be called when a server isn't running? Right now, it is confusing whether or not the client has successfully connected to the server or not, as On.Open always returns without any problems. What's the best way to solve this?
Beta Was this translation helpful? Give feedback.
All reactions