More Group Sites
Education Books
School Rankings
Jobless Net
Better Home
Enviro++
更好教育论坛


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
View
Go to last post Go to first unread
hong  
#1 Posted : Wednesday, August 1, 2018 10:02:52 PM(UTC)
hong

Rank: Administration

Reputation:

Groups: AcademicCoachingSchool, admin, Administration, BookSeller, CatholicSchool, CoachingAdult, CoachingProfessional, CoachingSports, ExtraCurriculumCoaching, IndependentSchool, Moderator, MusicTeacher, PrivateSchool, PublicSchool, SelectiveSchool, tutor
Joined: 11/23/2008(UTC)
Posts: 501

Compare Cross-platform socket / TCP client libraries: System.Net.Sockets, SocketLite, sockets-for-pcl

Under the namespace System.Net.Sockets, sockets, TcpClient and more components support .Net Core 2.1, .NetStandard 2.0, Android 7.1, iOS 10.8, Windows except Mac, See more information at
https://docs.microsoft.c...?view=netframework-4.7.2
https://docs.microsoft.c...?view=netframework-4.7.2

sockets-for-pcl is a Cross-platform socket API for Xamarin iOS/Android/Forms, Xamarin.Mac/MonoMac, Windows Phone 8/8.1, Windows Store and Windows Desktop. However it doesn't support .NetStandard 2.0 yet. The GitHub code base hasn't been updated for the last two years.

SocketLite is built on top of sockets-for-pcl. This project is a fork that build upon the fantastic work done with Socket for PCL. It supports .NetStandard 2.0. However, Its TcpSocketClient doesn’t work on Android reliably (Internet permission has already been granted to the device). Also the GitHub code base hasn't been updated for the last two years.
In the case that it cannot open socket reliably, you can see "TCP Zero Window" in Wireshark log.

I changed to System.Net.Sockets TcpClient. I use TcpClient in Xamarin forms Standard 2.0. It works with Android and iOS.

Edited by user Wednesday, August 1, 2018 10:13:06 PM(UTC)  | Reason: Not specified

Sponsor
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.