Link to home
Start Free TrialLog in
Avatar of stfu8888
stfu8888

asked on

TCP Packet in VB

Hello Experts,

        I want to be able to send byte information via TCP connection to another TCP device. The packet looks as follows.

00 00 F3 A5 00 08 0E 00  00 00 03 00 00 00 0C F0
17 F9 CF 41 C2 E0 9C 42  8F 84 F9 41 B8 37 8E 42
8D 07 F5 42 9E F8 1A 44  64 1B B7 42 BD B0 CD 42
84 D1 62 41 59 67 73 00  00 00 00 00 00 00 00 00
00 00 00 44 26 29 C8 48  8F 0F 47 00 0E

       Can I use Microsoft WinSock control to do this? Thanks in advance.
Avatar of MELeBlanc
MELeBlanc
Flag of United States of America image

Should be pretty straight forward to use the Winsock control.  Should only need to set the protocol, remote address and port.  Then use the SendData method to pass the message along.

-M
Avatar of stfu8888
stfu8888

ASKER

Do you have an example. Cos' I was trying to send data across and it does not work that well.
ASKER CERTIFIED SOLUTION
Avatar of MELeBlanc
MELeBlanc
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial