I want to make a TCP Server with MBED, so my client application can connect to it
the code for my server is this:
and my client code is:
in the client i receive the first message well, but when i send a message from the client to the server, the server receive nothing, and the second message sent by the server never arrives to the client.
What im doing wrong?
please help me with this, i connect the mbed to an ethernet jack (sparkfun magjack + breadboard adapter)
but i cant make a tcpserver to make a connection to my android application via sockets, my mbed is using static ip (the ip of the computer that has a public ip assigned to it).
Please help me i send you my schematic of how is the mbed connect.
I have connected the rj45 in the schematic following the explication on this link:
https://mbed.org/cookbook/Ethernet-RJ45
but i see this link too. Is this connection right?, because rd+ rd- td+ td- are not the same:
http://mbed.org/users/no2chem/notebook/ethernet-testing/
an what is the maximum length for the ethernet cat-5 cable?
I wait for your help. Thanks
I want to make a TCP Server with MBED, so my client application can connect to it
the code for my server is this:
and my client code is:
in the client i receive the first message well, but when i send a message from the client to the server, the server receive nothing, and the second message sent by the server never arrives to the client.
What im doing wrong?
please help me with this, i connect the mbed to an ethernet jack (sparkfun magjack + breadboard adapter) but i cant make a tcpserver to make a connection to my android application via sockets, my mbed is using static ip (the ip of the computer that has a public ip assigned to it).
Please help me i send you my schematic of how is the mbed connect. I have connected the rj45 in the schematic following the explication on this link: https://mbed.org/cookbook/Ethernet-RJ45
but i see this link too. Is this connection right?, because rd+ rd- td+ td- are not the same: http://mbed.org/users/no2chem/notebook/ethernet-testing/
an what is the maximum length for the ethernet cat-5 cable?
I wait for your help. Thanks