dimanche 29 octobre 2017

Issues with TCP Client/Server

Hey guys,

I wrote this basic TCP Client in Android with a C++ Server running in Linux.

Now the thing is this worked through Ethernet with a Rooted Samsung Note 2, however, with a brand spanking new Samsung Galaxy Note 8, it no longer works. Everything works great on the Rooted Note 2. But when I try to open up the connection to the server on the Note 8 the app crashes.

Granted the Note 8 phone is not rooted, however, I didn't think it would be necessary since it supports Ethernet natively.

Basically my question is, does any of you guys have any experience with sockets and TCP communications on the Note 8 through an Ethernet connection, or have any idea of what might be causing the app to crash when I try to connect on the Note 8?

The server still establishes the connection in C++, but each time it does the app crashes on Android.

Cheers!


from Android Forums at AndroidCentral.com - Ask a Question http://ift.tt/2z1pKVX
via IFTTT

Aucun commentaire:

Enregistrer un commentaire