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:

  1. what happens if mobile client switches networks e.g. wlan gprs , thereby ip changes while request/answer being transmitted? tcp handle this?

  2. 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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -