Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


pseudogeek2009

66 posts

Master Geek


#97675 19-Feb-2012 22:35
Send private message

Hello,

I am developing a TCP/IP client and server application to communicate via the internet but I am having disconnection issues. I have tested on the LAN and the application works fine without any disconnection but the disconnection issues happens when I use it remotely. The server is an embedded platform using PIC24F and the client is a simple TCP/IP client from codeproject. I am using port 3002 and have setup my router to port forward to the IP address of the embedded platform. I have ping it from the client PC and that seems fine. I have also check if the port is open by using www.canyouseeme.org.

Any ideas?

Paul

Create new topic
pseudogeek2009

66 posts

Master Geek


  #583830 20-Feb-2012 12:28
Send private message

Solved.



freitasm
BDFL - Memuneh
79295 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #583834 20-Feb-2012 12:30
Send private message

It would be good to give a brief explanation, if anyone searching for this lands on this page...




Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


pseudogeek2009

66 posts

Master Geek


  #584276 21-Feb-2012 00:00
Send private message

Default keep alive timeout in the Microchip library is 30ms. Increase the timeout to resolve the issue and it is working fine.



pseudogeek2009

66 posts

Master Geek


  #598176 21-Mar-2012 12:58
Send private message

Now I am having an issue with disconnection after several hours of operation. I was wondering if that is ISP issue. I am currently using dynamic dns setup on one of the router and port forward to a static IP address setup on the server. My client sends a request every 5 minutes. After over 4 hours of running the application, the disconnection happens. Is this an ISP issue (Orcon)? 

I know in real-life situation, the software will have to cope with the reconnection. Currently the embedded server copes with the disconnection by using the keep alive timers and reinitialise the TCP/IP stack.

Ragnor
8222 posts

Uber Geek

Trusted

  #598241 21-Mar-2012 14:47
Send private message

pseudogeek2009: Now I am having an issue with disconnection after several hours of operation. I was wondering if that is ISP issue. I am currently using dynamic dns setup on one of the router and port forward to a static IP address setup on the server. My client sends a request every 5 minutes. After over 4 hours of running the application, the disconnection happens. Is this an ISP issue (Orcon)? 

I know in real-life situation, the software will have to cope with the reconnection. Currently the embedded server copes with the disconnection by using the keep alive timers and reinitialise the TCP/IP stack.


Probably the best way to investigate would to be capture a log of the traffic with wireshark at the client and server ends
http://www.wireshark.org/

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.