Freelance Ethernet Rec/Send and TCP module
I'd like to use ethernet module which is avaiable on DCP02 to communicate with external C program which would run somewhere on the network. I've written some test client/server programs in ms visual (sending some raw data), but had no luck with establishing connection with software emulator (one which was aviable on some demo CD).
In HM, I've placed SR_SRTCP and SR_RNDEV interface. In FBD program i use Receive Module from TCP/IP Send and Receive under Blocks menu. Error states in HW are somewhat confusing, sometimes there's (1) network layer error sometimes (23) connection timeout and (25) no connection, all of them happens when i tried to establish connection and even if I don't. I've also tried different client/server settings. Anyway is there any receipe to do this kind of connection ? Should the frames contain some special "magic" data?
I should add that netstat -a shows open ports which i configure in HW, so there's something alive there.
Any help would be greatly appreciated.
Insert the URL that your highlighted text will link to.
Copy the video's "embed" tag into Embedded Video below.