rest - What happens if a communication partner changes his IP within a tcp connection -
i'm thinking of mobile client based on phonegap communicates via rest , soap interface server. communication stateless , happens on tcp. client makes request , gets response server directly via http. have 2 questions situation:
what happens if mobile client switches networks e.g. wlan gprs , thereby ip changes while request/answer being transmitted? tcp handle this?
are there other problems i'm not thinking can problem?
if ip address changes, existing tcp connection(s) must closed , re-connected. since http typically state-less , not tied particular connection, has own mechanisms (cookies, sessions) persisting data/state information across multiple requests needed, not uncommon http clients drop connections between requests same server.
Comments
Post a Comment