On 11/24/2016 08:25 AM, Bastian Blank wrote:
On Tue, Nov 22, 2016 at 12:46:27PM -0500, Doug Torrance wrote:
Error connecting: Invalid argument
connect(0.0.3.255:-7907) failed: Invalid argument
I would start here. The IP/port information is converted incorrectly.
I assume it's this function:
| static int ipv4_sock_connect(struct in_addr *address, short port)
short is signed and incapable of carrying a port.
Thanks for your reply!
I've changed all the shorts to uint16_t's -- hopefully this works!