Skip to content

[TCP] Connection fails to TCP server opened on Android device #33

Discussion options

You must be logged in to vote

💯 Fixed

Well, I started experimenting to find out if the problem was on the client or the server. By downloading the TCP debug application on GooglePlay, you can see that my client connected to the server created by the debuger app, but the debuger client did not connect to my server.

Then I went and tried to create the server using TcpListener and it worked, as Netly and TcpListener use Sockets as a base, so I opened the source code of TcpListener and started to see the Possible modification and I entered the problem (Backlog).

(Backlog) Netly used the value (0) until it was corrected (db1eda4) and on Android (backlog=zero) is (zero) connections, and on Windows, value (zero) is the same …

Replies: 7 comments 20 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@AndriiZozulia
Comment options

@alec1o
Comment options

@AndriiZozulia
Comment options

@alec1o
Comment options

@AndriiZozulia
Comment options

Comment options

You must be logged in to vote
6 replies
@AndriiZozulia
Comment options

@AndriiZozulia
Comment options

@alec1o
Comment options

@AndriiZozulia
Comment options

@alec1o
Comment options

Comment options

You must be logged in to vote
2 replies
@AndriiZozulia
Comment options

@alec1o
Comment options

Comment options

You must be logged in to vote
4 replies
@AndriiZozulia
Comment options

@alec1o
Comment options

@AndriiZozulia
Comment options

@alec1o
Comment options

Comment options

You must be logged in to vote
2 replies
@AndriiZozulia
Comment options

@alec1o
Comment options

Answer selected by alec1o
Comment options

You must be logged in to vote
1 reply
@alec1o
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
3 participants