ACiDCA7
ACiDCA7
CC#
Created by Sol on 4/12/2025 in #help
Need help with assignment
write down all the pieces the app consists of, then think how they interact with another. thats usually a good starting point
47 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
yes but what behavior exactly do you want to change?
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
how do we know how to help you if you dont give us anything to work with
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
but this is just a long shot
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
kinda sounds like you are having troubles with auto migration of EF?
35 replies
CC#
Created by Jiraknight3 on 4/6/2025 in #help
Discrepancy between the console result and the expected result.
i dont see any pattern on first sight how to get from input to expected output what are the rules? where are you stuck?
7 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
But the device should be able to establish a new connection
tcp wise most likely but via the protocol to actually talk with the device not. just in case someone else reads this im going to sleep now aswell though
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
jeay good night and thank you for the discussion
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
aah i forgot to mention that if we dont notice early enough the the device is gone that we produce 100s to 1000s of dollars garbage but ¯\_(ツ)_/¯ not my money
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
the conenction will stay in timewait even if device just dies until the timeout. from point of server everything is fine. but then device revives, tries to reestablish a new conenction on same port but cant anymore.. this is the shortest i can explaint it.
or don't understand
jep might be the case... to be honest i had jsut hoped for a quick solution, im currently writing in my free time and dont want to invest too much time into wrok related stuff..xD
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
pretty much yea
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
i count the app as the application layer.. at some point as you say you get into the session or transport layer
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
there were some parameters you could set to set the checkhealthinterval of the tcpsocket. i dont currently have the sourcecode on me so cannot tell exactly how it was done. this will check the tcpconnection on deeper osi level (windows knows about it). if device is gone the conenctionstate goes from established to time-wait. usually couple tries before its completly disconnected. we set that param pretty low, i think it was in the 10s of ms default is somewhere in the multiple seconds iirc. the crux is tho that time-wait is for the tcpsocket still connected while what we want is that if it goes into timewait we know about it to treat it appropriatly
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
windows can query conenctionstate on deeper osi level. without the apps knowing anything. then it knows if its established listening whatever
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
the problem with the existing dead connection is that like in the case above the connection was just shortly gon
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
well what do i send without breaking protocol... how do i know that the connection is gone without sending anything?
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
so the safestt bet is to just kill everything and start anew but tcp timeout is not playing nice
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
these are all kinds of devices where i dont have really any say in implementation since they come from all kinds of companies
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
device looses connection temporarly or whatever, missing packets, when again in range maybe device wants to reconnect thinks has to do handshake again but server didnt had timeout yet -> nothing works anymore
44 replies
CC#
Created by ACiDCA7 on 4/1/2025 in #help
getting tcp connection state
not always possible... some devices have a specific protocol where no heartbeat is possible
44 replies