Connect C# to ED
Posted: Friday 13 February, 2015 - 10:19
Hi community,
I would like to connect C# to ED. I create a project C# with a Socket Client.
I have to send and receive message between this two application (C# and ED).
When I try to send messages from C# to ED, everything works well. ED receives message from [127.0.0.1],[7122]
However, when ED trys to response to the message something goes wrong:
- If I send message through the port [7122], ED crashes because it receives and responses to the messages endlessly.
- If I try to send the message through another port (checked if the port is open and free), C# returns the following error:
WSAENOTCONN 10057 Socket is not connected.
A request to send or receive data was disallowed because the socket is not connected and
(when sending on a datagram socket using sendto) no address was supplied.
Any other type of operation might also return this error—for example, setsockopt setting
SO_KEEPALIVE if the connection has been reset.
Have you some suggestion to create a stable connection between C# and ED?
Thanks
Fabio
I would like to connect C# to ED. I create a project C# with a Socket Client.
I have to send and receive message between this two application (C# and ED).
When I try to send messages from C# to ED, everything works well. ED receives message from [127.0.0.1],[7122]
However, when ED trys to response to the message something goes wrong:
- If I send message through the port [7122], ED crashes because it receives and responses to the messages endlessly.
- If I try to send the message through another port (checked if the port is open and free), C# returns the following error:
WSAENOTCONN 10057 Socket is not connected.
A request to send or receive data was disallowed because the socket is not connected and
(when sending on a datagram socket using sendto) no address was supplied.
Any other type of operation might also return this error—for example, setsockopt setting
SO_KEEPALIVE if the connection has been reset.
Have you some suggestion to create a stable connection between C# and ED?
Thanks
Fabio