Page 1 of 1

Socket Communication

Posted: Friday 17 May, 2013 - 15:18
by Chiara
GoodAfternoon,

my problem is to make a communication between ED and other softwares via socket.
I both tryed to use SocketListen atom that my own atom but I can't listen anything.
I'm sure messages are sent through the rigth port and the localhost is written correctly.

I also make a test about the listener atom and it works correcly.

What could I do?

Chiara

Re: Socket Communication

Posted: Friday 17 May, 2013 - 15:21
by Chiara
thank you

Re: Socket Communication

Posted: Friday 17 May, 2013 - 15:33
by Fred
Hi Chiara,

Have you checked your Firewall settings? I once clicked too fast and it made sure Enterprise Dynamics was not capable of sending and/or receiving any messages.

On my new computer the Firewall dialog automatically popped up when I tried to test a Socked Listen in combination with A Socket Send atom.

When I approved Enterprise Dynamics it was working. You can use the Test Center to test the communication.

Gr. Fred...

Re: Socket Communication

Posted: Friday 17 May, 2013 - 15:59
by Chiara
Hi Fred,

all Firewall are disabled. We made the socket communication between 2 pc via LAN: the socket sender atom in the first pc was able to communicate with the socket listener atom in the second pc. By using the command prompt to send the message in the first pc, the socket listener socket didn't receive anything, either an error.

We tried both tcp and udp communication.

Same problem also using only one computer.

Thank you,
Chiara

Re: Socket Communication

Posted: Friday 17 May, 2013 - 21:24
by Fred
Hi Chiara,

Can you explain what you did in the command prompt? What command/program did you use?

I would like to duplicate what you are trying to see what is going wrong.

Gr. Fred...

Re: Socket Communication

Posted: Friday 17 May, 2013 - 21:26
by Fred
Hi Chiara,

Have you also looked at the Robot example I gave you?

ED has 2 ways of working with TCP/IP communication. The Socket atoms, but there are also some different 4DScript commands that you can use. The Robot example uses the 4DScript commands.

Gr. Fred...

Re: Socket Communication

Posted: Monday 20 May, 2013 - 12:20
by Chiara
Hi Fred,

I'm glad to announce that we managed to receive communicate via socket, anyway I attache the program/command we are using.

Probably there was a problem with the cable used for the LAN connection.

Thank you,

Chiara

Re: Socket Communication

Posted: Tuesday 21 May, 2013 - 14:52
by Fred
Hi Chiara,

Great! Good luck with the project.

Gr. Fred...