WIZnet Developer Forum

TCP not established

Hi,

I test Wiz820io TCP client mode connect to PC.
My config

GW = 192.168.1.1 (Router IP Address)
MAC = 00:00:55:55:AA:AA
IP = 192.168.1.15
Subnet = 255.255.255.0

Socket connect to
IP = 192.168.1.13
Subnet = 255.255.255.0
Port = 55057

When send CR = 1, socket status change from SOCK_INIT to SOCK_CLOSE_WAIT
and automatic change to SOCK_CLOSE.

Result packet monitor by wireshark is attach.

How to fix this problem ?.
Thanks in advance


Hi,
Did you capture the network packet without filtering?

TCP connection consists of 3-way handshake protocol as the following.

[CLIENT]       [SERVER]
<SYN> ------------------->
<--------------<SYN/ACK>
<ACK>------------------->       

I can’t find the SYN/ACK packet in your captured packet.

Plz, post the original capture file without fitering instead of image file.

Thank you.

Hi midnightcow,

Problem is fix.
Program on PC that use for TCP server have some problem.
For test TCP connect to FileZilla FTP server is work correctly.

Thank you.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.