sorry to post again but i couldn't rely to my last topic for reason i dont know.
my question is normal.
i can't transmit bytes to a server, i think maybe i miss configured the ports.
how can i transmit a byte to a server listening to port 23456 for example
i didnt understand the meaning of dst_port_hi and dst_port_lo
any help please
TCP_IP Component
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: TCP_IP Component
dst_port_hi = port / 256bogha wrote: how can i transmit a byte to a server listening to port 23456 for example
i didnt understand the meaning of dst_port_hi and dst_port_lo
any help please
dst_port_lo = port - ( dst_port_hi * 256 ) (equals dst_port_lo = port % 256)
So for your example port of 23456 the values would be:
dst_port_hi = 23456 / 256 = 91
dst_port_lo = 23456 - ( 91 * 256 ) = 160
Hope this helps.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: TCP_IP Component
Your last message has been moved to the Flowcode 4 forum (it is here) which requires you to register for that forum before you are allowed to post in it.bogha wrote:sorry to post again but i couldn't rely to my last topic for reason i dont know.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Steve
- Matrix Staff
- Posts: 3422
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: TCP_IP Component
Support for Flowcode V4 customers is done via the Flowcode V4 forum. Please see the following link for more information:
http://www.matrixmultimedia.com/mmforum ... =29&t=8762
http://www.matrixmultimedia.com/mmforum ... =29&t=8762