Assigning port no to ethernet module 812MJ's socket
IO Modules
No replies yet. Be the first to reply.
Join the discussion.
IO Modules
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Assigning port no to ethernet module 812MJ's socket
by jbkim ·
Any port number can be assigned to the socket.
Do you use TCP server?
To debug this problem, you’d better use the Wireshark([url]http://www.wireshark.org/[/url])) and see what happen when you connect to the board.
RE: Assigning port no to ethernet module 812MJ's socket
by prashantkumar ·
Hello,
I am getting RST signal in the wireshark when i use 502 port . what does it mean ? why it is not giving SYN flag .
RE: Assigning port no to ethernet module 812MJ's socket
by jbkim ·
RST means there is no socket having 502 port.
I think you need to check the port number is correct when you open the socket.
RE: Assigning port no to ethernet module 812MJ's socket
by prashantkumar ·
Hi ,
I tested wheather my socket gets assigned with other port no or not . ! and i found that any port no greater than 255 doesn’t get connected while port no <= 255 gets connected . I am using AX1 software from wiznets website , is there any limitation in this s/w or reason is something else ?
RE: Assigning port no to ethernet module 812MJ's socket
by jbkim ·
AX1 support any port number (~65535).
As the port number is 2 byte and you need to define it as Integer(2 byte) in your code.