TCP connect time

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

TCP connect time

Post by seulater »

i am making a new project that will require me to create a TCP connection from a master NB module to a slave NB module. Just curious if its OK to have a 24/7 TCP open connection.
User avatar
lgitlitz
Posts: 331
Joined: Wed Apr 23, 2008 11:43 am
Location: San Diego, CA
Contact:

Re: TCP connect time

Post by lgitlitz »

A 24/7 TCP open connection should be fine but I suggest adding in a "heart beat" to the connection. This will allow you to detect if the connection is dropped.
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: TCP connect time

Post by seulater »

Thanks, i already have that in place. every minute i send a "are you there" request if you will.
Post Reply