|I try to exchange data between a WinDev and a C# program using regular socket communication in both languages. I use TCP/IP protocol, socket 55455. The communication does work if both programs are written in Windev or in C#. But when I try to send a message from the Windev program to the C# program, it does not work. I documented the communication using WireShark and I (not being a TCP specialist) see two differences:|
- Windev uses source port 1120 with bnetfile protocol, C# uses 1119 with bnetgame protocol
- the Windec communication consists of 8 records back and forth whereas the C# communication consists only of 5 records. Windev sends the data in the 5th record, C# does it in the 4th one.
Naive as I am I thought TCP/IP and sockets would work, disregarding the language they are programmed in. Can anybody please help me, how do I make these two different worlds to communicate with each other. If necessary I can send the source codes and the Wireshark protocols. Thank you!